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

Function plural

ui/src/lib/flow-model.ts:139–139  ·  view source on GitHub ↗
(n: number, one: string, many: string)

Source from the content-addressed store, hash-verified

137}
138
139const plural = (n: number, one: string, many: string): string => (n === 1 ? one : many);
140
141export function endCapText(boundary: WireFlowBoundary): EndCapText {
142 const sites: EndCapSite[] = boundary.sites.map((site) => {

Callers 2

endCapTextFunction · 0.70
handleExploreMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected