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

Function resolvedRoot

ark/sets/structure/structure.ts:87–88  ·  view source on GitHub ↗
(node: BaseRoot)

Source from the content-addressed store, hash-verified

85}
86
87const resolvedRoot = (node: BaseRoot): BaseRoot =>
88 node.is("alias") ? node.resolution : node
89
90// a number key names the same property as its string
91const propertyOf = (key: Key): Key =>

Callers 1

intersectPropsAndIndexFunction · 0.85

Calls 1

isMethod · 0.80

Tested by

no test coverage detected