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

Function text

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

Source from the content-addressed store, hash-verified

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;
90}
91function count(value: unknown): number {
92 if (typeof value !== 'number' || !Number.isSafeInteger(value) || value < 0)
93 throw new Error('Invalid impact count');

Callers 2

nodeFunction · 0.70
readSelectionImpactFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected