© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Victor Oliveira
1) Even if you insert a value lower than zero, it will return true, for example if you have an account with negative balance. You could add a aditional condition:
this.hasMoney = !!cash && cash > 0;