Skip to content

Home > @unseenco/backstage-dataverse > getPointerParts

getPointerParts variable

Returns the root object and the path of the pointer.

Signature:

typescript
getPointerParts: <_>(p: Pointer<_>) => {
    root: {};
    path: PathToProp;
}

Example

ts
const {root, path} = getPointerParts(pointer)