isUndefined.js 104 B

1234
  1. // Is a given variable undefined?
  2. export default function isUndefined(obj) {
  3. return obj === void 0;
  4. }