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

Function wrapperOf

ark/aot/graph.ts:566–566  ·  view source on GitHub ↗
(held: Held)

Source from the content-addressed store, hash-verified

564
565// e.g. `[o]` or `{ o }`
566const wrapperOf = (held: Held): Held => heldAs(held.depth + 1, held.copied + 1)
567
568// each binding a pattern declares and how it holds what the value
569// destructured into it does, or undefined for one the build doesn't follow,

Callers 2

namespaceWriteOfMethod · 0.85
mayWriteFromMethod · 0.85

Calls 1

heldAsFunction · 0.85

Tested by

no test coverage detected