Add Amount.is_negative();

This commit is contained in:
Stefan Thomas
2012-12-03 15:34:51 -08:00
parent 665bd4b1de
commit 2e49493776

View File

@@ -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) {