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

Function write

ark/type/runtime.ts:819–820  ·  view source on GitHub ↗
(writer: Writer, ...args: unknown[])

Source from the content-addressed store, hash-verified

817 propString: stringifyPath(issue.path)
818 }
819 const write = (writer: Writer, ...args: unknown[]): unknown =>
820 typeof writer === "function" ? writer(...args, enInfo) : writer
821 error.expected = context.expected ?? write(expected, error) ?? text.expected
822 if (context.actual !== undefined) error.actual = context.actual
823 else {

Callers 5

sitedKeepsFunction · 0.70
writtenFunction · 0.70
defaultedMethod · 0.70
failingValuesFunction · 0.70
writeTextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected