File size: 125 Bytes
7450ebd |
1 2 3 4 5 6 7 |
export function pluralize(word: string, count: number): string {
if (count === 1) {
return word;
}
return word + "s";
}
|
7450ebd |
1 2 3 4 5 6 7 |
export function pluralize(word: string, count: number): string {
if (count === 1) {
return word;
}
return word + "s";
}
|