Skip to content

Rulvar API reference


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 ​

ParameterType
segmentsreadonly ScopeSegment[]

Returns ​

string