---
url: "https://vueda.dev/v3/reference/api/js/utils/unifiedGet/functions/unifiedGet.md"
title: "unifiedGet"
---

# 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 |
| --- | --- | --- | --- |
| <span id="param-obj">obj</span> | `object` | yes | The primary object. |
| <span id="param-relatedObj">relatedObj</span> | `object` | yes | The related object. |
| <span id="param-calculatedObj">calculatedObj</span> | `object` | yes | The calculated object. |
| <span id="param-fieldPath">fieldPath</span> | `string` | yes | The field path, optionally prefixed with "related." or "calculated.". |

### Returns

`unknown`

The resolved value.

## Source

`client/lib/utils/unifiedGet.js:17`
