This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

getLocalePluralCase

The locale plural function used by ICU expressions to determine the plural case to use. See NgPlural for more information.

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

Parameters

locale

Type: string.

Returns

(value: number) => Plural