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

Function parseUntilFinalizer

ark/type/parser/string.ts:94–98  ·  view source on GitHub ↗
(s: RuntimeState)

Source from the content-addressed store, hash-verified

92>
93
94export const parseUntilFinalizer = (s: RuntimeState): RootedRuntimeState => {
95 while (s.finalizer === undefined) next(s)
96
97 return s as RootedRuntimeState
98}
99
100export type parseUntilFinalizer<s extends StaticState, $, args> =
101 s["finalizer"] extends undefined ?

Callers 3

_parseOptionalConstraintFunction · 0.90
parseUntilFinalizerMethod · 0.90
fullStringParseFunction · 0.85

Calls 1

nextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…