MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / unwrap

Function unwrap

packages/bumpy/src/utils/clack.ts:10–16  ·  view source on GitHub ↗
(value: T | symbol)

Source from the content-addressed store, hash-verified

8 * Every interactive prompt result must flow through this.
9 */
10export function unwrap<T>(value: T | symbol): T {
11 if (p.isCancel(value)) {
12 p.cancel('Aborted');
13 process.exit(0);
14 }
15 return value as T;
16}

Callers 5

ciSetupCommandFunction · 0.90
setupPatFunction · 0.90
setupAppFunction · 0.90
initCommandFunction · 0.90
addCommandFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…