Skip to main content

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 ParameterDefault typeDescription
T extends objectanyRoot object type.

Parameters​

ParameterTypeDescription
valueobjectTarget object.

Returns​

RootPath<T>