Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 959 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 959 Bytes

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