is-element
v0.1.0
Published
Returns true if dom element
Downloads
2,185
Readme
is-element
Returns true if dom element, false if not
Getting Started
npm install is-element
is-element is meant to be consumed in a CommonJS, Browserify environment:
var isElement = require('is-element')
// returns true, assuming a node with class `element` exists
isElement(document.querySelector('.element'))