getLocaleCurrencyName
function
Deprecated
Retrieves the name of the currency for the main country corresponding
to a given locale. For example, 'US Dollar' for en-US
.
API
function getLocaleCurrencyName( locale: string): string | null;
getLocaleCurrencyName
string | null
Retrieves the name of the currency for the main country corresponding
to a given locale. For example, 'US Dollar' for en-US
.
@paramlocale
string
A locale code for the locale format rules to use.
@returns
string | null
Jump to details