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

Function entersAlias

ark/schema/node.ts:587–597  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

585 }
586
587 get entersAlias(): boolean {
588 if (this.c.entersAlias !== undefined) return this.c.entersAlias
589 const entersAlias =
590 this.isCyclic &&
591 (this.c.isAliasResolution ||
592 isNode($ark.nodesById.get(this.id)) ||
593 (this.is("intersection") && !!this.structure?.props.length))
594 return isResolutionFinal() ?
595 (this.c.entersAlias = entersAlias)
596 : entersAlias
597 }
598
599 // a root no alias references is tracked as an equal resolution
600 get trackedId(): string {

Callers

nothing calls this directly

Calls 4

isNodeFunction · 0.90
isResolutionFinalFunction · 0.90
isMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected