diff --git a/js/amount.js b/js/amount.js index 10c9ffb392..6423ad595a 100644 --- a/js/amount.js +++ b/js/amount.js @@ -408,6 +408,10 @@ Amount.prototype.canonicalize = function() { return this; }; +Amount.prototype.is_native = function () { + return this.is_native; +}; + // Return a new value. Amount.prototype.negate = function () { return this.clone('NEGATE');