MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / isRecord

Function isRecord

packages/cli/src/commands/batchRender.ts:86–88  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

84const PLACEHOLDER_RE = /\{([A-Za-z0-9_.-]+)\}/g;
85
86function isRecord(value: unknown): value is Record<string, unknown> {
87 return value !== null && typeof value === "object" && !Array.isArray(value);
88}
89
90function parseJson(raw: string, source: string): unknown {
91 try {

Callers 1

parseBatchRowsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected