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

Function isRecord

packages/core/execution/src/engine.ts:253–254  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

251// ---------------------------------------------------------------------------
252
253const isRecord = (value: unknown): value is Record<string, unknown> =>
254 typeof value === "object" && value !== null && !Array.isArray(value);
255
256const readOptionalLimit = (value: unknown, toolName: string): number | ExecutionToolError => {
257 if (value === undefined) {

Callers 1

makeFullInvokerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected