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

Function references

ark/schema/scope.ts:342–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340
341 private _references: readonly BaseNode[] | undefined
342 get references(): readonly BaseNode[] {
343 if (!this._references && this._exported) {
344 const references = Object.values(this.byId)
345 this._references =
346 this._lazy ? references : referencesThroughAliases(references)
347 }
348 return this._references ?? []
349 }
350
351 /** each alias's resolution, or the parse context of one still unresolved */
352 readonly res: {

Callers

nothing calls this directly

Calls 1

referencesThroughAliasesFunction · 0.90

Tested by

no test coverage detected