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

Method let

ark/schema/shared/compile.ts:139–141  ·  view source on GitHub ↗
(identifier: string, expression: CoercibleValue)

Source from the content-addressed store, hash-verified

137 }
138
139 let(identifier: string, expression: CoercibleValue): this {
140 return this.line(`let ${identifier} = ${expression}`)
141 }
142
143 set(identifier: string, expression: CoercibleValue): this {
144 return this.line(`${identifier} = ${expression}`)

Callers 15

forCategoryMethod · 0.80
createPanelMethod · 0.80
renderMethod · 0.80
casesMethod · 0.80
hostOnlySpansMethod · 0.80
fromManifestMethod · 0.80
searchLineStartsMethod · 0.80
getExternalGrammarMethod · 0.80
collectInjectionsMethod · 0.80
rawGrammarMethod · 0.80

Calls 1

lineMethod · 0.95

Tested by 2

renderMethod · 0.64
casesMethod · 0.64