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

Function traverseUnused

ark/schema/node.ts:1086–1091  ·  view source on GitHub ↗
(data: d["prerequisite"])

Source from the content-addressed store, hash-verified

1084
1085 // checks data without marking the Type used, e.g. a default
1086 traverseUnused(data: d["prerequisite"]): ArkErrors | {} | null | undefined {
1087 const usedPreJit = this.c.usedPreJit
1088 const out = this.traverse(data)
1089 this.c.usedPreJit = usedPreJit
1090 return out
1091 }
1092
1093 // allows data without using the Type, e.g. a key an intersection checks
1094 allowsUnused(data: d["prerequisite"]): boolean {

Callers

nothing calls this directly

Calls 1

traverseMethod · 0.80

Tested by

no test coverage detected