diff --git a/src/js/amount.js b/src/js/amount.js index 2426338a9..b34018cf1 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -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) {