Help Angular by taking a 1 minute survey!Go to surveyHome

getLocalePluralCase

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
      
      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