MCPcopy Create free account
hub / github.com/angular/angular / getLocaleCurrencies

Function getLocaleCurrencies

packages/common/src/i18n/locale_data_api.ts:610–613  ·  view source on GitHub ↗

* Retrieves the currency values for a given locale. * @param locale A locale code for the locale format rules to use. * @returns The currency values. * @see [Internationalization (i18n) Guide](guide/i18n)

(locale: string)

Source from the content-addressed store, hash-verified

608 * @see [Internationalization (i18n) Guide](guide/i18n)
609 */
610function getLocaleCurrencies(locale: string): {[code: string]: CurrenciesSymbols} {
611 const data = ɵfindLocaleData(locale);
612 return data[ɵLocaleDataIndex.Currencies];
613}
614
615/**
616 * @publicApi

Callers 1

getCurrencySymbolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected