amis-rpc-design/node_modules/core-js/internals/is-null-or-undefined.js
2023-10-07 19:42:30 +08:00

7 lines
223 B
JavaScript

'use strict';
// we can't use just `it == null` since of `document.all` special case
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
module.exports = function (it) {
return it === null || it === undefined;
};