django-vue3-admin-web/node_modules/xe-utils/eqNull.js
2025-10-20 21:21:14 +08:00

14 lines
276 B
JavaScript

var isNull = require('./isNull')
var isUndefined = require('./isUndefined')
/**
* 判断是否 undefined 和 null
* @param {Object} obj 对象
* @return {Boolean}
*/
function eqNull (obj) {
return isNull(obj) || isUndefined(obj)
}
module.exports = eqNull