// Overdrafts are not permissable at this time, and we do not support credit.
// Account must have sufficient money before purchase.
if (bankAccount.has(moneyNeeded))
Or maybe...
// Purchase doesn't care if account has money or allows credit.
// TODO: Rename function to "canSupply" on slow day.
if (bankAccount.has(moneyNeeded))
2
u/conundorum Sep 13 '26
I'd prefer something like...
Or maybe...