isParentOf
Callable
Parameters
parent: string
The parent path to check.
child: string
The child path to verify against the parent.
Returns boolean
Whether the
parentpath is an ancestor of thechildpath.
The parent path to check.
The child path to verify against the parent.
Whether the parent path is an ancestor of the child path.
Checks if the given parent path is an ancestor of the given child path.