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

Function writeCall

ark/type/standalone/combinators.ts:550–553  ·  view source on GitHub ↗
(
	factory: keyof typeof runtime,
	...args: (string | undefined)[]
)

Source from the content-addressed store, hash-verified

548
549// pure, so a bundler drops a checker nothing reads
550const writeCall = (
551 factory: keyof typeof runtime,
552 ...args: (string | undefined)[]
553): string => `/* @__PURE__ */ runtime.${factory}(${writeArgs(...args)})`
554
555// a description its factory writes itself is omitted
556const unlessDerived = (

Callers 14

writeCheckFunction · 0.85
writeDescribedCheckFunction · 0.85
writeRequiredFunction · 0.85
writeStructureFunction · 0.85
writeShapeFunction · 0.85
readCheckerFunction · 0.85
readValueFunction · 0.85
readCaseFunction · 0.85
writeCombinatorFunction · 0.85
writeCheckerFunction · 0.85
writeMorphFunction · 0.85

Calls 1

writeArgsFunction · 0.85

Tested by

no test coverage detected