is-dom
Check if the given object is a dom node
Last updated 6 years ago by tehshrike .
MIT · Repository · Bugs · Original npm
$ cnpm install is-dom 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (6 years ago)

1 Versions

  • 1.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org