parseSelectionPath
parseSelectionPath(
system,path):string[] |null
Defined in: src/ActorSelection.ts:65
Parse an input string into path segments relative to /. Accepts two
shapes:
- absolute URI: “actor-ts://
/user/foo/bar” - absolute path: “/user/foo/bar” or “user/foo/bar”
The system-name (if present) is verified to match the target system; mismatch returns null to indicate the path is meant for a different one.
Parameters
Section titled “Parameters”system
Section titled “system”string | ActorPath
Returns
Section titled “Returns”string[] | null