Function constructIntlPluralRules
- constructIntlPluralRules(...constructorArguments: [locales?: string | string[], options?: PluralRulesOptions]): PluralRules
-
Parameters
-
Rest
...constructorArguments: [locales?: string | string[], options?: PluralRulesOptions]
Returns PluralRules
Functional alias for
new Intl.PluralRules()
, which enables plural-sensitive formatting and plural-related language rules.See
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules