code: function getCurrencySymbol(locale, currencyCode, altNarrow) {
    // Check whether the locale has been loaded
    if (!localeIsLoaded(locale)) {
      return null;
    }
  
    const { currencies } = Cldr._raw.main[locale].numbers;
  
    // Check whether the given currency code exists within the CLDR file for the given locale
    if (!Object.keys(currencies).includes(currencyCode)) {
      return null;
    }
  
    // Return the right currency symbol, either the normal one or the alt-narrow one if desired
    return altNarrow ? currencies[currencyCode]['symbol-alt-narrow'] : currencies[currencyCode].symbol;
  }
docs: Returns only the currency symbol from the CLDR file