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

Function object

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

Source from the content-addressed store, hash-verified

8 edgesTruncated: boolean;
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

Callers 1

readRepositorySnapshotFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected