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

Function assignStep

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

Source from the content-addressed store, hash-verified

613 if (previous.some(node => node.tfCtx))
614 conditions.push(`${this.ctx}.errN === ${errN}`)
615 const assignStep = () => assign(name, node, i === 0 ? input : name)
616 if (conditions.length) this.if(conditions.join(" && "), assignStep)
617 else assignStep()
618 }

Callers 1

assignStepsFunction · 0.85

Calls 1

assignFunction · 0.85

Tested by

no test coverage detected