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

Function checker

ark/aot/settingsValidators.ts:541–541  ·  view source on GitHub ↗
(data, ctx)

Source from the content-addressed store, hash-verified

539}
540var check = (code, description, test) => {
541 const checker = (data, ctx) => test(data) || !failsAt(ctx, checker, data)
542 checker.code = code
543 checker.description = description
544 checker.test = test

Callers 3

wrappingFunction · 0.70
failsValueFunction · 0.70
applyMorphAtFunction · 0.70

Calls 11

failsAtFunction · 0.85
withinFunction · 0.85
failsAtKeyFunction · 0.85
branchFunction · 0.85
testMethod · 0.80
failsValueFunction · 0.70
hasOwnFunction · 0.70
arrayPathKeyOfFunction · 0.70
caseOfFunction · 0.70
_kMethod · 0.65
allowsFunction · 0.50

Tested by

no test coverage detected