Pluralizes the given string. It's a simple proxy to the pluralize function on util.
Parameters:
Name | Type | Description |
---|---|---|
string |
String | Noun to pluralize |
count |
Integer | The numer of objects |
includeCount |
Boolean | To include the number in formatted string |
Returns:
Formatted plural
- Type
- String
Example
- Single
- {{"person" | pluralize: 1}}
- Multiple
- {{"person" | pluralize: 20}}
<span>{{dog | pluralize:10:true}}</span>