unifiedGet
Overview
Retrieves a value from a plain, related, or calculated object based on a namespaced field path. Paths prefixed with "related." or "calculated." are resolved against the corresponding object.
Signature
unifiedGet(obj, relatedObj, calculatedObj, fieldPath)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| obj | object | yes | The primary object. |
| relatedObj | object | yes | The related object. |
| calculatedObj | object | yes | The calculated object. |
| fieldPath | string | yes | The field path, optionally prefixed with "related." or "calculated.". |
Returns
unknown
The resolved value.
Source
client/lib/utils/unifiedGet.js:17