ES2015 module for type checking DOM Nodes
npm install is-dom-nodeA simple and fast way to get started is to include this script on your page:
``html`
This will create the global variable isDomNode.
`bash`
npm install is-dom-node
#### CommonJS
`js`
const isDomNode = require('is-dom-node')
#### ES2015
`js`
import isDomNode from 'is-dom-node'
`js
const node = document.querySelector('#cake')
isDomNode(node)
// => true
const html = '
'