| 1 2 3 4 5 6 7 8 9 10 11 | 6x 2x 2x 1x 1x | import getCountry from './getCountry';
const getCurrencyAbbreviation = (countryName, moreCountries = undefined) => {
const country = getCountry(countryName, moreCountries = undefined);
if(country) {
return country.cur;
}
return undefined;
};
export default getCurrencyAbbreviation; |