MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isRecord

Function isRecord

apps/desktop/scripts/smoke-sidecar.ts:49–50  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

47type ToolCallResult = Awaited<ReturnType<Client["callTool"]>>;
48
49const isRecord = (value: unknown): value is Record<string, unknown> =>
50 typeof value === "object" && value !== null && !Array.isArray(value);
51
52const makeScopeId = (cwd: string): string => {
53 const folder = basename(cwd) || cwd;

Callers 1

completePausedResultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected