is-dom
v1.1.0 dom html is dom dom node dom object
is-dom
Check if the given object is a dom node.
Installation
$ npm install is-dom
Usage
var isDom = require('is-dom')
isDom(window.document)
// => true
Check if the given object is a dom node.
$ npm install is-dom
var isDom = require('is-dom')
isDom(window.document)
// => true