getPlural()
Chooses a plural form based on a specific quantity.
getPlural(n: number, forms: string[]): string;
Summary
This method is called by DeferredString (the result of fmt()), for each plural form placeholder in a format string.
Parameters
- n — The quantity on which to base the plural form
- forms — The list of plural forms from which to choose
Related
interface DeferredString.I18nProvider static
An interface that provides functionality for translating and formatting strings.
