MCPcopy Create free account
hub / github.com/cortexkit/magic-context / isRecord

Function isRecord

packages/plugin/src/shared/conflict-fixer.ts:28–30  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

26] as const;
27
28function isRecord(value: unknown): value is JsonObject {
29 return typeof value === "object" && value !== null && !Array.isArray(value);
30}
31
32function asStringArray(value: unknown): string[] {
33 return Array.isArray(value)

Callers 2

readConfigFunction · 0.70
fixConflictsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected