MCPcopy Index your code
hub / github.com/angular/angular / getLocalePluralCase

Function getLocalePluralCase

packages/core/src/i18n/locale_data_api.ts:96–99  ·  view source on GitHub ↗
(locale: string)

Source from the content-addressed store, hash-verified

94 * @see [Internationalization (i18n) Guide](guide/i18n)
95 */
96export function getLocalePluralCase(locale: string): (value: number) => number {
97 const data = findLocaleData(locale);
98 return data[LocaleDataIndex.PluralCase];
99}
100
101/**
102 * Helper function to get the given `normalizedLocale` from `LOCALE_DATA`

Callers 2

getPluralCaseFunction · 0.90
getPluralCategoryMethod · 0.90

Calls 1

findLocaleDataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…