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

Function asText

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

Source from the content-addressed store, hash-verified

146}
147
148function asText(value: unknown): string {
149 return typeof value === 'string' ? value : '';
150}
151
152function asCount(value: unknown): number | undefined {
153 return typeof value === 'number' && Number.isFinite(value) ? value : undefined;

Callers 1

askModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected