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

Function isRecord

apps/cli/src/tooling.ts:4–5  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

2import * as Effect from "effect/Effect";
3
4const isRecord = (value: unknown): value is Record<string, unknown> =>
5 typeof value === "object" && value !== null && !Array.isArray(value);
6
7const stripRepeatedErrorPrefix = (input: string): string => {
8 let output = input.trim();

Callers 5

parseJsonObjectInputFunction · 0.70
extractExecutionResultFunction · 0.70
extractExecutionIdFunction · 0.70
extractPausedInteractionFunction · 0.70
schemaExampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected