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

Function newTypeEvalState

ark/aot/graph.ts:6628–6635  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6626const maxTypeRecursion = 24
6627
6628const newTypeEvalState = (): TypeEvalState => ({
6629 steps: 0,
6630 recursion: 0,
6631 active: new Map(),
6632 minCycle: Infinity,
6633 queried: false,
6634 aborted: false
6635})
6636
6637const isTopLevelType = (declaration: LocalType): boolean =>
6638 declaration.parent?.type === "Program" ||

Callers 2

typeKindOfMethod · 0.85
propTypesOfMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected