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

Function object

graph-ui/src/impact/selection-impact.ts:82–86  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

80 | { status: 'failed'; error: string };
81
82function object(value: unknown): Record<string, unknown> {
83 if (typeof value !== 'object' || value === null || Array.isArray(value))
84 throw new Error('Invalid impact response');
85 return value as Record<string, unknown>;
86}
87function text(value: unknown): string {
88 if (typeof value !== 'string') throw new Error('Invalid impact text');
89 return value;

Callers 2

nodeFunction · 0.70
readSelectionImpactFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected