util-ex
Version:
Browser-friendly enhanced util fully compatible with standard node.js
10 lines (9 loc) • 319 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isInt = exports.default = void 0;
const isInt = exports.isInt = Number.isInteger || function (value) {
return typeof value === "number" && isFinite(value) && Math.floor(value) === value;
};
var _default = exports.default = isInt;