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