import Wallet, { Money } from 'walletjs' const money = Money.init(100) const wallet = Wallet.init(money) console.log(wallet.getAmount(money.currency)) const money2 = Money.init(100) const newWallet = wallet.add(money2) console.log(newWallet.getAmount(money2.currency))
There was an error while loading. Please reload this page.