Skip to content

npm-dom/is-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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