validateSegmentReferences
function validateSegmentReferences(flags, segments): SegmentReferenceError[];Defined in: segments.ts:213
Validate that every inSegment reference (across flags and nested segments)
resolves to an existing segment and that the reference graph is acyclic.
Returns an empty array when the references are sound.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
flags |
Record<string, Flag> |
segments |
Record<string, Segment> |