'use strict';

const toString = Object.prototype.toString;
const isValid = (value) => {
  return value !== void 0 && value !== null && value !== "";
};
const isBoolean = (val) => typeof val === "boolean";
const isFunction = (val) => typeof val === "function";
const isNumber = (val) => typeof val === "number";
const isString = (val) => typeof val === "string";
function isValidValue(val) {
  return val !== void 0 && val !== null;
}
const isNumeric = (value) => {
  return !isNaN(parseFloat(value)) && isFinite(value);
};
const isObject = (val) => toString.call(val) === "[object Object]";
function isArray(val) {
  return val && Array.isArray(val);
}

exports.isArray = isArray;
exports.isBoolean = isBoolean;
exports.isFunction = isFunction;
exports.isNumber = isNumber;
exports.isNumeric = isNumeric;
exports.isObject = isObject;
exports.isString = isString;
exports.isValid = isValid;
exports.isValidValue = isValidValue;
//# sourceMappingURL=is.js.map
