This repository is a mirror of the component module ramitos/iswindow. It has been modified to work with NPM+Browserify. You can install it using the command npm install npmcomponent/ramitos-iswindow
. Please do not open issues or send pull requests against this repo. If you have issues with this repo, report it to npmcomponent.
based on jquery/jquery
component install isWindow
var isWindow = require('isWindow')
isWindow(document.body) // => false
isWindow(window) // => true