JS: Add is_native() to Amount.

This commit is contained in:
Arthur Britto
2012-11-05 09:41:30 -08:00
parent 8045059894
commit 7baea209ad

View File

@@ -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');