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

Function apply

ark/schema/node.ts:880–884  ·  view source on GitHub ↗
(data, onFail)

Source from the content-addressed store, hash-verified

878 const rootApply = this.createRootApply()
879 // marked used once it returns, so an allows it calls doesn't compile
880 const apply: RootApply = (data, onFail) => {
881 const result = rootApply(data, onFail)
882 this.c.usedPreJit = true
883 return result
884 }
885 const checked =
886 $ark.inPlace ?
887 $ark.inPlace.checkedUncompiled(this as never, apply)

Callers 15

_kMethod · 0.50
_kMethod · 0.50
_kMethod · 0.50
foundErrorsFunction · 0.50
resolvedInFunction · 0.50
recordingApplyFunction · 0.50
applyErrorsFunction · 0.50
applyCallErrorsFunction · 0.50
inPlace.tsFile · 0.50
_kMethod · 0.50
_kMethod · 0.50
_kMethod · 0.50

Calls 1

rootApplyFunction · 0.85

Tested by 2

resolvedInFunction · 0.40
recordingApplyFunction · 0.40