Function: isTreePath()
isTreePath(
value):value is TreePath
Defined in: packages/authz/src/tree-path.ts:23
Whether a string is a well-formed subject-path: /, or one to sixteen lowercase
segments, and no longer than 1024 characters: the same pattern and limit as the
ScopePath schema in @oktoid/contracts, so a path that validates there brands here.
Parameters
value
string
Returns
value is TreePath