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

Function writeArgs

ark/type/standalone/combinators.ts:544–547  ·  view source on GitHub ↗
(...args: (string | undefined)[])

Source from the content-addressed store, hash-verified

542}
543
544const writeArgs = (...args: (string | undefined)[]): string => {
545 while (args.length && args[args.length - 1] === undefined) args.pop()
546 return args.map(arg => arg ?? "void 0").join(", ")
547}
548
549// pure, so a bundler drops a checker nothing reads
550const writeCall = (

Callers 1

writeCallFunction · 0.85

Calls 2

popMethod · 0.80
mapMethod · 0.65

Tested by

no test coverage detected