ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Variable CURRENCY_SYMBOL_MAPConst

    CURRENCY_SYMBOL_MAP: { [key: string]: string } = ...

    Mapping of ISO currency codes to their corresponding currency symbols

    Type declaration

    • [key: string]: string
    CURRENCY_SYMBOL_MAP['USD'] // returns '$'
    CURRENCY_SYMBOL_MAP['EUR'] // returns '€'
    export const CURRENCY_SYMBOL_MAP: { [key: string]: string } = Object.fromEntries(
    Object.entries(currencies).map(([code, { symbol }]) => [
    code,
    symbol as string as CurrencySymbol,
    ]),
    );