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

Method setRoot

ark/type/parser/reduce/dynamic.ts:78–80  ·  view source on GitHub ↗
(root: BaseRoot)

Source from the content-addressed store, hash-verified

76 }
77
78 setRoot(root: BaseRoot): void {
79 this.root = root
80 }
81
82 unsetRoot(): this["root"] {
83 const value = this.root

Callers 2

parseOperandFunction · 0.80
parseOperatorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected