npm.io
1.1.0 • Published 7 years ago

is-dom

Licence
MIT
Version
1.1.0
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
30

is-dom

NPM version build status Test coverage Downloads

Check if the given object is a dom node.

Installation

$ npm install is-dom

Usage

var isDom = require('is-dom')

isDom(window.document)
// => true

License

MIT

Keywords