mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-06 12:38:26 -04:00
7 lines
120 B
JavaScript
7 lines
120 B
JavaScript
|
|
// Is a given variable undefined?
|
||
|
|
function isUndefined(obj) {
|
||
|
|
return obj === void 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
module.exports = isUndefined;
|