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

Function failsAtKey

ark/aot/settingsValidators.ts:926–927  ·  view source on GitHub ↗
(ctx, site, data, key)

Source from the content-addressed store, hash-verified

924var siteOf = (code, description, message) => ({ code, description, x: message })
925var failsAt = (ctx, site, data) => !ctx?._e || failsSite(ctx, site, data)
926var failsAtKey = (ctx, site, data, key) =>
927 !ctx?._e || failsKeySite(ctx, site, data, key)
928var checkedDefaultOf = ([id, holes]) => {
929 let table = checkedDefaults.next(id)
930 for (const hole of holes) table = table.next(hole)

Callers 3

checkerFunction · 0.90
missFunction · 0.90
checkerFunction · 0.85

Calls 1

failsKeySiteFunction · 0.70

Tested by

no test coverage detected