Add gt to big numbers.

This commit is contained in:
Richard Moore 2017-06-30 14:38:48 -04:00
parent b4d622b02b
commit 1c0d0157ad

View File

@ -97,6 +97,10 @@ defineProperty(BigNumber.prototype, 'lte', function(other) {
return this._bn.lte(bigNumberify(other)._bn);
});
defineProperty(BigNumber.prototype, 'gt', function(other) {
return this._bn.gt(bigNumberify(other)._bn);
});
defineProperty(BigNumber.prototype, 'gte', function(other) {
return this._bn.gte(bigNumberify(other)._bn);
});