mirror of
https://github.com/stCarolas/setup-maven.git
synced 2024-11-27 05:36:09 +08:00
11 lines
159 B
JavaScript
11 lines
159 B
JavaScript
define(function () {
|
|
|
|
// Is a given value a DOM element?
|
|
function isElement(obj) {
|
|
return !!(obj && obj.nodeType === 1);
|
|
}
|
|
|
|
return isElement;
|
|
|
|
});
|