This repository has been archived by the owner. It is now read-only.
check if an element is document
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.jshintrc
.tern-project
component.json
readme.md

readme.md

deprecated

isDocument

install

component install ramitos/isDocument

api

var isDocument = require('isDocument')

isDocument(document) // => true
isDocument(window) // => false