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

Function noun

ui/src/lib/deadcode-model.ts:30–32  ·  view source on GitHub ↗

"symbol" / "symbols" — the noun without its count, for sentences that count twice.

(count: number, one: string)

Source from the content-addressed store, hash-verified

28
29/** "symbol" / "symbols" — the noun without its count, for sentences that count twice. */
30function noun(count: number, one: string): string {
31 return count === 1 ? one : `${one}s`;
32}
33
34/** The one-line summary above the list. */
35export function deadCodeHeadline(payload: WireDeadCode | null): string {

Callers 2

deadCodeHeadlineFunction · 0.85
deadCodeScaleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected