• Overview
@angular/common

I18nPluralPipe

pipe

Maps a value to a string that pluralizes the value according to locale rules.

  
    class I18nPluralPipe implements PipeTransform {}
  
  

transform

string
@paramvaluenumber | null | undefined

the number to be formatted

@parampluralMap{ [count: string]: string; }
@paramlocalestring | undefined

a string defining the locale to use (uses the current LOCALE_ID by default).

@returnsstring
Jump to details