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

Function getLocaleCurrencyCode

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

Source from the content-addressed store, hash-verified

81 *
82 */
83export function getLocaleCurrencyCode(locale: string): string | null {
84 const data = findLocaleData(locale);
85 return data[LocaleDataIndex.CurrencyCode] || null;
86}
87
88/**
89 * Retrieves the plural function used by ICU expressions to determine the plural case to use

Callers 1

Calls 1

findLocaleDataFunction · 0.85

Tested by

no test coverage detected