forked from actions/setup-maven
7 lines
132 B
JavaScript
7 lines
132 B
JavaScript
|
// Is a given value a DOM element?
|
||
|
function isElement(obj) {
|
||
|
return !!(obj && obj.nodeType === 1);
|
||
|
}
|
||
|
|
||
|
module.exports = isElement;
|