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

Function failsAt

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

Source from the content-addressed store, hash-verified

923 readsContext ? withContextOf(validator, context) : validator
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]) => {

Callers 5

checkers.tsFile · 0.90
checkerFunction · 0.90
reportedByFunction · 0.90
wrappedFunction · 0.90
checkerFunction · 0.85

Calls 1

failsSiteFunction · 0.70

Tested by

no test coverage detected