mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add Amount.is_negative();
This commit is contained in:
@@ -785,6 +785,10 @@ Amount.prototype.parse_issuer = function (issuer) {
|
||||
return this;
|
||||
};
|
||||
|
||||
Amount.prototype.is_negative = function () {
|
||||
return this._is_negative;
|
||||
};
|
||||
|
||||
// Check BigInteger NaN
|
||||
// Checks currency, does not check issuer.
|
||||
Amount.prototype.equals = function (d) {
|
||||
|
||||
Reference in New Issue
Block a user