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

Function lostOf

ark/aot/graph.ts:465–468  ·  view source on GitHub ↗
(kind: KindBits)

Source from the content-addressed store, hash-verified

463 : 0
464
465const lostOf = (kind: KindBits): KindBits =>
466 kind & ~(kinds.data | opaqueValueBits) ? unsure
467 : kind & opaqueValueBits ? opaque
468 : kinds.data
469
470// e.g. `User` in `_unref(User)`, as Vue compiles a script setup binding its template reads
471const unrefedOf = (call: CallExpression, module: SourceModule) => {

Callers 6

destructuredWriteOfMethod · 0.85
passedKindOfMethod · 0.85
returnKindInMethod · 0.85
builtinPassedOfMethod · 0.85
fieldKindInMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected