MCPcopy Index your code
hub / github.com/anomalyco/models.dev / plural

Function plural

packages/web/src/render.tsx:612–614  ·  view source on GitHub ↗
(count: number, singular: string, pluralForm = `${singular}s`)

Source from the content-addressed store, hash-verified

610}
611
612function plural(count: number, singular: string, pluralForm = `${singular}s`) {
613 return `${count} ${count === 1 ? singular : pluralForm}`;
614}
615
616function Header(props: { active: ActiveSection }) {
617 return (

Callers 3

modelPageMetadataFunction · 0.85
providerPageMetadataFunction · 0.85
labPageMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected