linkgetLocaleCurrencyName
| npm Package | @angular/common |
|---|---|
| Module | import { getLocaleCurrencyName } from '@angular/common'; |
| Source | common/src/i18n/locale_data_api.ts |
function getLocaleCurrencyName(locale: string): string | null;
linkDescription
The name of the currency for the main country using this locale (e.g. USD for the locale
en-US).
The name will be null if the main country cannot be determined.