Format the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB, 102bytes, etc).
Parameter | Type | Description |
---|---|---|
value | undefined |
Takes a phone number and converts it in to its numerical equivalent
Parameter | Type | Description |
---|---|---|
value | undefined |
Returns a plural suffix if the value is not 1, for '1 vote' vs. '2 votes'
By default, 's' is used as a suffix; if an argument is provided, that string is used instead. If the provided argument contains a comma, the text before the comma is used for the singular case.
Parameter | Type | Description |
---|---|---|
value | undefined | |
arg | undefined |
A wrapper around toJson unless something better comes along
Parameter | Type | Description |
---|---|---|
value | undefined |