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

Function kindWord

ui/src/lib/steps-model.ts:191–193  ·  view source on GitHub ↗
(kind: WireStep['kind'], project: ProjectKind = 'app', step?: WireStep)

Source from the content-addressed store, hash-verified

189 * and the tooltip never disagree.
190 */
191export function kindWord(kind: WireStep['kind'], project: ProjectKind = 'app', step?: WireStep): string {
192 return kindWords(kind, project, step)[0];
193}
194
195/** The singular and the plural, for counts: `1 endpoint`, `3 outside the index`. */
196export function kindWords(kind: WireStep['kind'], project: ProjectKind = 'app', step?: WireStep): [string, string] {

Callers 1

Calls 1

kindWordsFunction · 0.85

Tested by

no test coverage detected