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

Function requireStandIn

ark/aot/interpreter.ts:249–253  ·  view source on GitHub ↗
(proxy: object)

Source from the content-addressed store, hash-verified

247}
248
249const requireStandIn = (proxy: object): [Interpreter, StandIn] => {
250 const resolved = resolveStandIn(proxy)
251 if (resolved) return resolved
252 throw new Error("Stand-in accessed outside an active interpreter")
253}
254
255// a call reaches the site defining the value, so its module alone decides it
256interface Call {

Callers 2

refuseMethod · 0.85
createStandInProxyMethod · 0.85

Calls 1

resolveStandInFunction · 0.85

Tested by

no test coverage detected