Skip to content

Function: pluralize() ​

ts
function pluralize(
   count, 
   singular, 
   plural?): string;

Parameters ​

ParameterType
countnumber
singularstring
pluralstring

Returns ​

string

Released under the MIT License.