API
Path
Path step encoding and quantifier steps.
Functions
parsePathSteps
Parse a BE16-encoded hex path into an array of step values.
function parsePathSteps(path: `0x${string}`): number[];Parameters
| Name | Type | Description |
|---|---|---|
path | `0x${string}` | 0x-prefixed hex string containing BE16-encoded path steps. |
Returns
number[] — Array of numeric step values.
isQuantifier
Check whether a path step is a quantifier (ALL or ANY).
function isQuantifier(step: number): boolean;Parameters
| Name | Type | Description |
|---|---|---|
step | number | - |
Returns
boolean
lookupQuantifier
Map a quantifier path step to its display label.
function lookupQuantifier(code: number): QuantifierInfo;Parameters
| Name | Type | Description |
|---|---|---|
code | number | Quantifier step value. |
Returns
QuantifierInfo — Display metadata for the quantifier.
Types
Quantifier
Reserved path step values that trigger quantified evaluation over array elements.
QuantifierInfo
Display metadata for a quantifier step.