7 lines
120 B
JavaScript
Raw Permalink Normal View History

2024-10-15 23:05:53 +03:00
// Is a given variable undefined?
function isUndefined(obj) {
return obj === void 0;
}
module.exports = isUndefined;