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

Function isRecord

packages/core/sdk/src/migration-spec.ts:116–117  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

114 [...new Set(scopes.filter((s) => s.length > 0))].join(" ");
115
116const isRecord = (value: unknown): value is Record<string, unknown> =>
117 typeof value === "object" && value !== null && !Array.isArray(value);
118
119// ---------------------------------------------------------------------------
120// Policy pattern migration.

Callers 3

legacyMcpToolBindingFunction · 0.70
migrateV1ToolAnnotationsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected