const e = (t) => (n) => Object.prototype.toString.call(n) === `[object ${t}]`;
function i(t) {
  return t != null;
}
const s = (t) => e("Array")(t), r = (t) => e("Object")(t), c = (t) => e("Function")(t) || e("AsyncFunction")(t), o = (t) => i(t) && c(t.then) && c(t.catch);
function u(t) {
  const n = t.replace(/[^-|\d]/g, "");
  return /^((\+86)|(86))?(1)\d{10}$/.test(n) || /^0[0-9-]{10,13}$/.test(n);
}
function l(t) {
  return ["", void 0, null].includes(t);
}
function A(t) {
  return t ? /^(([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-Z](([0-9]{5}[DF])|([DABCEFGHJK]([A-HJ-NP-Z0-9])[0-9]{4})))|([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-Z][A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳使领]))$/.test(t) : !1;
}
export {
  s as isArray,
  i as isDef,
  c as isFunction,
  A as isLicensePlateNumber,
  u as isMobile,
  l as isNullish,
  r as isObject,
  o as isPromise,
  e as isType
};
