jsts-ie
Version:
A JavaScript library of spatial predicates and functions for processing geometry
24 lines (19 loc) • 412 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = Integer;
function Integer(value) {
this.value = value;
}
Integer.prototype.intValue = function () {
return this.value;
};
Integer.prototype.compareTo = function (o) {
if (this.value < o) return -1;
if (this.value > o) return 1;
return 0;
};
Integer.isNaN = function (n) {
return Number.isNaN(n);
};
;