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

Function string

graph-ui/src/architecture/repository-source.ts:11–11  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

9}
10const object = (value: unknown): Record<string, unknown> => typeof value === 'object' && value !== null && !Array.isArray(value) ? value as Record<string, unknown> : {};
11const string = (value: unknown): string => typeof value === 'string' ? value : '';
12const number = (value: unknown): number => typeof value === 'number' && Number.isFinite(value) ? value : 0;
13
14/** Reuse symbol identity with the 3D graph. Coordinates are deliberately unused

Calls

no outgoing calls