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

Function writeRules

ark/type/standalone/combinators.ts:1031–1032  ·  view source on GitHub ↗
(rules: (number | undefined)[])

Source from the content-addressed store, hash-verified

1029}
1030
1031const writeRules = (rules: (number | undefined)[]) =>
1032 rules.map(rule => (rule === undefined ? undefined : `${rule}`))
1033
1034// an intersection one of the runtime's shapes checks, as one call
1035const writeShape = (

Callers 1

writeShapeFunction · 0.85

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected