MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / isObjectRecord

Function isObjectRecord

packages/core/src/testing/assertions.ts:13–15  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

11} from "./scenario.js";
12
13function isObjectRecord(value: unknown): value is Record<string, unknown> {
14 return typeof value === "object" && value !== null && !Array.isArray(value);
15}
16
17function matchesSubset(actual: unknown, expected: unknown): boolean {
18 if (expected === undefined) return true;

Callers 1

matchesSubsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected