"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isValidIntProperty = isValidIntProperty;
exports.isValidPositiveIntProperty = isValidPositiveIntProperty;
exports.isValidNumber = isValidNumber;
exports.isValidNumberArray = isValidNumberArray;
function isValidIntProperty(input) {
    return Number.isInteger(input);
}
function isValidPositiveIntProperty(input) {
    return isValidIntProperty(input) && input >= 0;
}
function isValidNumber(input) {
    return typeof input == 'number';
}
function isValidNumberArray(input) {
    if (Array.isArray(input)) {
        for (const i in input) {
            if (!isValidNumber(input[i])) {
                return false;
            }
        }
        return true;
    }
    return false;
}
