pluralize
Callable
Parameters
total: number
The total number of items.
Returns (strings: TemplateStringsArray, ...tokens: string[][]) => string
The function that takes a
TemplateStringsArray
and an array of tokens and returns the final string.Parameters
strings: TemplateStringsArray
rest...tokens: string[][]
Returns string
Returns a function that takes a
TemplateStringsArray
and an array of tokens and returns a string by concatenating the interpolated values of the strings and tokens.