getLocaleCurrencyName

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.

getLocaleCurrencyName(locale: string): string | null

参数

locale

Type: string.

返回值

string | null