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

Function isRecord

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

Source from the content-addressed store, hash-verified

184// ---------------------------------------------------------------------------
185
186const isRecord = (value: unknown): value is Record<string, unknown> =>
187 typeof value === "object" && value !== null && !Array.isArray(value);
188
189const readOptionalLimit = (value: unknown, toolName: string): number | ExecutionToolError => {
190 if (value === undefined) {

Callers 1

makeFullInvokerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected