Check if the given object is a dom node.
$ npm install is-domvar isDom = require('is-dom')
isDom(window.document)
// => true| Name | Name | Last commit date | ||
|---|---|---|---|---|
Check if the given object is a dom node.
$ npm install is-domvar isDom = require('is-dom')
isDom(window.document)
// => true