getNestedPropertyValue
Gets the value of a nested property from an object.
Import:
import { getNestedPropertyValue } from 'obsidian-dev-utils/object-utils';Signature:
function getNestedPropertyValue($object: Record<string | symbol, unknown>, path: string): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
$object | Record<string | symbol, unknown> | |
path | string | The path to the nested property. |
Returns: unknown — The value of the nested property.