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

Function isRecord

graph-ui/src/projects/projects-model.ts:26–28  ·  view source on GitHub ↗

* What the server says about its projects, read strictly, and the small * decisions the projects panel makes on top of it. * * The panel (src/projects/ProjectsPanel.tsx) is the one surface of this * frontend that asks the server to WRITE: index a repository, delete an index, * store a decision

(value: unknown)

Source from the content-addressed store, hash-verified

24 */
25
26function isRecord(value: unknown): value is Record<string, unknown> {
27 return typeof value === 'object' && value !== null && !Array.isArray(value);
28}
29
30const text = (value: unknown): string => (typeof value === 'string' ? value : '');
31

Callers 8

readIndexStartedFunction · 0.70
readBrowseFunction · 0.70
readHealthFunction · 0.70
readAdrFunction · 0.70
readLogsFunction · 0.70
readUiLogTailFunction · 0.70
uiLogLineTextFunction · 0.70
readProcessesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected