Retrieves the currency symbol for a given currency code.
Deprecation warning
API
function getCurrencySymbol( code: string, format: 'wide' | 'narrow', locale?: string, ): string;
Description
Retrieves the currency symbol for a given currency code.
For example, for the default en-US locale, the code USD can be represented by the narrow symbol $ or the wide symbol US$.