Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / formatScopePath

Function: formatScopePath()

ts
function formatScopePath(segments): string;

Defined in: packages/core/src/journal/scope.ts:123

Serializes parsed segments back to the canonical path (round-trip).

Parameters

ParameterType
segmentsreadonly ScopeSegment[]

Returns

string