isUndefined.js 120 B

123456
  1. // Is a given variable undefined?
  2. function isUndefined(obj) {
  3. return obj === void 0;
  4. }
  5. module.exports = isUndefined;