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

Method types

ark/aot/declareNative.ts:250–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248 }
249
250 get types() {
251 return this.memo("types", () =>
252 (this.raw as tsgo.UnionOrIntersectionType)
253 .getTypes()
254 .map(t => this.views.type(t))
255 )
256 }
257
258 get value() {
259 const { value } = this.raw as tsgo.LiteralType

Callers 12

benchTemplate.tsFile · 0.80
nary.bench.tsFile · 0.80
operand.bench.tsFile · 0.80
cyclic.bench.tsFile · 0.80
match.bench.tsFile · 0.80
object.bench.tsFile · 0.80
operator.bench.tsFile · 0.80
regex.bench.tsFile · 0.80

Calls 3

memoMethod · 0.95
mapMethod · 0.65
typeMethod · 0.45

Tested by

no test coverage detected