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

Method expression

ark/schema/structure/index.ts:77–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75export class IndexNode extends BaseConstraint<Index.Declaration> {
76 implied: BaseRoot = $ark.kw.object.internal
77 get expression(): string {
78 return (this.c.expression ??= composing(
79 () => `[${this.signature.expression}]: ${elided(this.value.expression)}`
80 ))
81 }
82
83 constructor(...args: ConstructorParameters<typeof BaseConstraint>) {
84 super(...args)

Callers

nothing calls this directly

Calls 2

composingFunction · 0.90
elidedFunction · 0.90

Tested by

no test coverage detected