@arco-vue-pro-components/pro-components
Version:
基于@arco-design/web-vue组件的高级组件,包括pro-table
32 lines (31 loc) • 894 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const opt = Object.prototype.toString;
function isArray(obj) {
return opt.call(obj) === "[object Array]";
}
function isNull(obj) {
return opt.call(obj) === "[object Null]";
}
function isObject(obj) {
return opt.call(obj) === "[object Object]";
}
function isString(obj) {
return opt.call(obj) === "[object String]";
}
function isNumber(obj) {
return opt.call(obj) === "[object Number]" && obj === obj;
}
function isUndefined(obj) {
return obj === void 0;
}
function isEmptyObject(obj) {
return isObject(obj) && Object.keys(obj).length === 0;
}
exports.isArray = isArray;
exports.isEmptyObject = isEmptyObject;
exports.isNull = isNull;
exports.isNumber = isNumber;
exports.isObject = isObject;
exports.isString = isString;
exports.isUndefined = isUndefined;