isWindow.js 126 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 define( function() { "use strict"; return function isWindow( obj ) { return obj != null && obj === obj.window; }; } );