MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / countWords

Function countWords

ui/src/lib/steps-model.ts:219–222  ·  view source on GitHub ↗
(n: number, kind: WireStep['kind'], project: ProjectKind = 'app')

Source from the content-addressed store, hash-verified

217
218/** `3 handlers`, `1 endpoint`, `11 outside the index`. */
219export function countWords(n: number, kind: WireStep['kind'], project: ProjectKind = 'app'): string {
220 const [one, many] = kindWords(kind, project);
221 return `${n} ${n === 1 ? one : many}`;
222}
223
224/**
225 * What fires something, in a few characters: `onPress · <Button>`,

Callers 1

Calls 1

kindWordsFunction · 0.85

Tested by

no test coverage detected