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

Function clean

graph-ui/src/architecture/route-graph-source.ts:40–40  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

38}
39
40const clean = (value: string | undefined) => value && value !== '{}' && value !== '-' ? value : undefined;
41function integer(value: string | undefined): number | undefined {
42 if (!value?.trim()) return undefined;
43 const result = Number(value);

Callers 3

endpointFunction · 0.70
loadRouteGraphFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected