You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
301 B
11 lines
301 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.default = isNil;
|
|
/**
|
|
* 判断值是否为 null 或 undefined
|
|
* @return 是否为 null 或 undefined
|
|
*/
|
|
function isNil(value) {
|
|
return value === null || value === undefined;
|
|
}
|
|
//# sourceMappingURL=is-nil.js.map
|