"use strict";
const isString = (val) => typeof val === "string";
const isNull = (value) => value === null;
const isUndefined = (value) => value === void 0;
function isDef(value) {
  return !isUndefined(value) && !isNull(value);
}
function isNumeric(value) {
  return !Number.isNaN(Number(value));
}
function isBoolean(value) {
  return typeof value === "boolean";
}
function isObject(x) {
  const type = typeof x;
  return x !== null && (type === "object" || type === "function");
}
function isPlainObject(val) {
  return val !== null && typeof val === "object" && Object.prototype.toString.call(val) === "[object Object]";
}
exports.isBoolean = isBoolean;
exports.isDef = isDef;
exports.isNumeric = isNumeric;
exports.isObject = isObject;
exports.isPlainObject = isPlainObject;
exports.isString = isString;
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/tdesign-uniapp/components/common/validator.js.map
