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

Function createEnvironment

ark/aot/interpreter.ts:3316–3320  ·  view source on GitHub ↗
(parent: Environment | undefined)

Source from the content-addressed store, hash-verified

3314 })
3315
3316const createEnvironment = (parent: Environment | undefined): Environment => ({
3317 valuesByBinding: new Map(),
3318 read: new Set(),
3319 parent
3320})
3321
3322const emptyTrace = (): Trace => ({
3323 reads: [],

Callers 3

declaredValueMethod · 0.85
evaluateEnumMethod · 0.85
interpretCallMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected