Function: getRootPath()
function getRootPath<T>(value): RootPath<T>;
Returns the root of the target plus the path from the root to get to the target.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T extends object | any | Root object type. |
Parameters
| Parameter | Type | Description |
|---|---|---|
value | object | Target object. |
Returns
RootPath<T>