MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / isRecord

Function isRecord

graph-ui/src/agents/agent-event.ts:142–144  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

140}
141
142function isRecord(value: unknown): value is Record<string, unknown> {
143 return typeof value === 'object' && value !== null && !Array.isArray(value);
144}
145
146function textOf(value: unknown): string {
147 return typeof value === 'string' ? value : '';

Callers 1

readAgentEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected