From 7baea209adf304ccbfa7ef77dc6940f5c749ba16 Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Mon, 5 Nov 2012 09:41:30 -0800 Subject: [PATCH] JS: Add is_native() to Amount. --- js/amount.js | 4 ++++ 1 file changed, 4 insertions(+) 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');