MCPcopy Create free account
hub / github.com/cli/cli / record

Function record

evals/src/core/io.ts:10–15  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

8const exec = promisify(execFile);
9
10export function record(value: unknown): Record<string, unknown> {
11 if (typeof value !== "object" || value === null || Array.isArray(value)) {
12 throw new Error("Expected an object");
13 }
14 return value as Record<string, unknown>;
15}
16
17/**
18 * Names of the skills bundled with the Copilot runtime. They load whenever skill directories are

Callers 7

parseExecutorConfigFunction · 0.70
trialMethod · 0.70
observeFunction · 0.70
constructorMethod · 0.70
subscribeMethod · 0.50
subscriptionsMethod · 0.50
objectFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected