"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRandomInt = exports.isPositiveInteger = exports.isInteger = void 0;
function isInteger(value) {
    return !Number.isNaN(Number(value)) && Number.isInteger(value);
}
exports.isInteger = isInteger;
function isPositiveInteger(value) {
    return isInteger(value) && value > 0;
}
exports.isPositiveInteger = isPositiveInteger;
function getRandomInt(min, max) {
    if (min === void 0) { min = 0; }
    if (max === void 0) { max = 1000000; }
    return Math.floor(Math.random() * (max - min + 1)) + min;
}
exports.getRandomInt = getRandomInt;
//# sourceMappingURL=NumberUtils.js.map