ChemPal Documentation - v1.7.0
    Preparing search index...

    Module constants/currency

    Variables

    CURRENCY_SYMBOL_MAP

    Mapping of ISO currency codes to their corresponding currency symbols. Sourced from country-list-js, so the symbols match the library (e.g. CNY → "CN¥", JPY → "¥", INR → "Rs").

    CURRENCY_CODE_MAP

    Mapping of currency symbols to their corresponding currency codes. Several currencies share a symbol (e.g. "$" → USD/SRD, "£" → GBP/GIP/…); the library lists the major currency first, so we keep the first code seen for each symbol ("first wins") to resolve "$" → USD, "£" → GBP, "₩" → KRW.

    CURRENCIES

    Currency options (code + symbol) for selectors, sorted alphabetically by code. Derived from CURRENCY_SYMBOL_MAP so the full set of currencies known to country-list-js is available.