rulvar API reference / @rulvar/rulvar / formatScopePath
Function: formatScopePath()
ts
function formatScopePath(segments): string;Defined in: packages/core/dist/index.d.ts
Serializes parsed segments back to the canonical path (round-trip).
Parameters
| Parameter | Type |
|---|---|
segments | readonly ScopeSegment[] |
Returns
string