Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

is-dom

1.1.0 • Public • Published

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

Install

npm i is-dom

DownloadsWeekly Downloads

1,268,129

Version

1.1.0

License

MIT

Unpacked Size

4.22 kB

Total Files

6

Last publish

Collaborators

  • avatar