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

Function isTransformErrors

ark/schema/shared/compile.ts:596–597  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

594 return pushesKey ? this.line(`${this.ctx}.path.pop()`) : this
595 }
596 const isTransformErrors = () =>
597 `typeof ${name} === "function" && ${name} instanceof ${this.ref(TransformErrors)}`
598 const assignSteps = () => {
599 const errN = `${name}ErrorCount`
600 if (nodes.slice(0, -1).some(node => node.tfCtx))

Callers 2

assignStepsFunction · 0.85
tfKeyFunction · 0.85

Calls 1

refMethod · 0.45

Tested by

no test coverage detected