MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / isRecord

Function isRecord

projects/openade-module/src/nodeYjsStorage.ts:43–45  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

41}
42
43function isRecord(value: unknown): value is Record<string, unknown> {
44 return typeof value === "object" && value !== null && !Array.isArray(value)
45}
46
47function toPlain(value: unknown): JsonValue | undefined {
48 if (value instanceof Y.Map) {

Callers 3

toPlainFunction · 0.70
readMapObjectFunction · 0.70
readOrderedArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected