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

Function count

graph-ui/src/browser-ai/strings.ts:366–366  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

364export const evidenceNote = (note: string, language: 'en' | 'de'): string => Object.values(evidenceNotes).find(item => item.en === note)?.[language] ?? note;
365
366const count = (value: number) => value.toLocaleString('en-US');
367const plural = (value: number, one: string, many: string) => `${count(value)} ${value === 1 ? one : many}`;
368/** Architecture selections as sentences: for the prompt and for the explanation card. */
369export const architectureWords = {

Callers 3

pluralFunction · 0.70
strings.tsFile · 0.70
moreFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected