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

Function textOf

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

Source from the content-addressed store, hash-verified

144}
145
146function textOf(value: unknown): string {
147 return typeof value === 'string' ? value : '';
148}
149
150function numberOf(value: unknown): number | undefined {
151 if (typeof value === 'number' && Number.isFinite(value)) {

Callers 1

readAgentEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected