Files
projektuebersicht/node_modules/underscore/modules/isElement.js
T
erik 5b20adee48 All new
alle new
2026-10-01 06:46:51 +02:00

5 lines
118 B
JavaScript

// Is a given value a DOM element?
export default function isElement(obj) {
return !!(obj && obj.nodeType === 1);
}