getLocaleCurrencySymbol
function
deprecated
Retrieves the symbol used to represent the currency for the main country
corresponding to a given locale. For example, '$' for en-US.
Deprecation warning
@paramlocale
stringA locale code for the locale format rules to use.
@returns
string | nullThe localized symbol character,
or null if the main country cannot be determined.
Jump to details