MCPcopy
hub / github.com/spicetify/cli / pluralize

Function pluralize

src/cmd/config.go:186–191  ·  view source on GitHub ↗
(count int, singular, plural string)

Source from the content-addressed store, hash-verified

184}
185
186func pluralize(count int, singular, plural string) string {
187 if count == 1 {
188 return singular
189 }
190 return plural
191}
192
193func stringType(section *ini.Section, field, value string) {
194 key, err := section.GetKey(field)

Callers 1

arrayTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected