getLocalePluralCase

From Get docs
< @angular/commonAngular/docs/7/api/common/getlocalepluralcase /
Revision as of 02:19, 6 December 2021 by Notes (talk | contribs) (Page commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


getLocalePluralCase

function

Retrieves the plural function used by ICU expressions to determine the plural case to use for a given locale.

getLocalePluralCase(locale: string): (value: number) => Plural

Parameters
locale string A locale code for the locale format rules to use.
Returns

(value: number) => Plural: The plural function for the locale.


See also


© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/common/getLocalePluralCase