MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / isWindow

Function isWindow

code/songhop/www/lib/angular/angular.js:618–620  ·  view source on GitHub ↗

* Checks if `obj` is a window object. * * @private * @param {*} obj Object to check * @returns {boolean} True if `obj` is a window obj.

(obj)

Source from the content-addressed store, hash-verified

616 * @returns {boolean} True if `obj` is a window obj.
617 */
618function isWindow(obj) {
619 return obj && obj.window === obj;
620}
621
622
623function isScope(obj) {

Callers 4

isArrayLikeFunction · 0.70
copyFunction · 0.70
equalsFunction · 0.70
toJsonReplacerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected