Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function getAllDenomsOfIsoCurrencies (): Array {
// Convert map to an array
const denomArray = []
for (const currencyCode in currencySymbolMap) {
if (currencySymbolMap.hasOwnProperty(currencyCode)) {
const item = getDenomFromIsoCode(currencyCode)
if (item.name.length) {
denomArray.push(item)
}
}
}
return denomArray
}