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

Function asRecord

graph-ui/src/chat/chat-client.ts:144–146  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

142}
143
144function asRecord(value: unknown): Record<string, unknown> {
145 return typeof value === 'object' && value !== null ? (value as Record<string, unknown>) : {};
146}
147
148function asText(value: unknown): string {
149 return typeof value === 'string' ? value : '';

Callers 1

askModelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected