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

Function contains

graph-ui/tools/eval-check.mjs:123–123  ·  view source on GitHub ↗
(haystack, needle)

Source from the content-addressed store, hash-verified

121
122/** Case-insensitive containment. Wortgleich mit tools/eval-llm.mjs. */
123const contains = (haystack, needle) => haystack.toLowerCase().includes(needle.toLowerCase());
124
125const mean = (values) =>
126 values.length === 0 ? 0 : values.reduce((sum, value) => sum + value, 0) / values.length;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected