Returns the plural form of a word based on the provided count.
The singular form of the word.
The count to determine singular or plural form.
The appropriately pluralized word.
1.1.0
pluralize("cat", 1); // "cat"pluralize("cat", 3); // "cats"pluralize("baby", 2); // "babies"pluralize("bus", 2); // "buses" Copy
pluralize("cat", 1); // "cat"pluralize("cat", 3); // "cats"pluralize("baby", 2); // "babies"pluralize("bus", 2); // "buses"
Returns the plural form of a word based on the provided count.