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

    Variable CURRENCY_CODE_MAP_BY_LOCATIONConst

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

    Mapping of locations to their corresponding currency codes

    Type declaration

    • [key: string]: string
    CURRENCY_CODE_MAP_BY_LOCATION['US'] // returns 'USD'
    CURRENCY_CODE_MAP_BY_LOCATION['GB'] // returns 'GBP'
    export const CURRENCY_CODE_MAP_BY_LOCATION: { [key: string]: string } = Object.fromEntries(
    Object.entries(locations).map(([code, { currency }]) => [code, currency as CurrencyCode]),
    );