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

Method type

ark/aot/declareNative.ts:176–181  ·  view source on GitHub ↗
(t: RawType | undefined)

Source from the content-addressed store, hash-verified

174 type(t: RawType): ts.Type
175 type(t: RawType | undefined): ts.Type | undefined
176 type(t: RawType | undefined): ts.Type | undefined {
177 if (!t) return
178 let view = this.types.get(t)
179 if (!view) this.types.set(t, (view = new TypeView(this, t)))
180 return view as never
181 }
182
183 symbol(s: RawSymbol): ts.Symbol
184 symbol(s: RawSymbol | undefined): ts.Symbol | undefined

Callers 15

arktype.tsFile · 0.45
structures.tsFile · 0.45
scratch.tsFile · 0.45
entrypoints.tsFile · 0.45
testV8.tsFile · 0.45
index.tsFile · 0.45
dynamicOfFunction · 0.45
standalone.test.tsFile · 0.45
defineFunction · 0.45
consumer.tsFile · 0.45
aliasTypeArgumentsMethod · 0.45

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by 15

defineFunction · 0.36
unusedFunction · 0.36
unusedFunction · 0.36
unusedFunction · 0.36
unusedFunction · 0.36
scopedFunction · 0.36
scopedFunction · 0.36
defineFunction · 0.36
levelsFunction · 0.36
pipedFunction · 0.36
defineFunction · 0.36
errorsOfFunction · 0.36