mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
JS: Add is_native() to Amount.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user