MCPcopy Create free account
hub / github.com/arktypeio/arktype / fitsLength

Function fitsLength

ark/sets/structure/sequence.ts:331–332  ·  view source on GitHub ↗
(s: SequenceIntersectionState)

Source from the content-addressed store, hash-verified

329
330// a branch with required elements left on either side has no length both allow
331const fitsLength = (s: SequenceIntersectionState) =>
332 !s.l.some(elementIsRequired) && !s.r.some(elementIsRequired)

Callers 1

sequence.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected