MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / isWindow

Function isWindow

web/static/bower_components/angular/angular.js:707–709  ·  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

705 * @returns {boolean} True if `obj` is a window obj.
706 */
707function isWindow(obj) {
708 return obj && obj.window === obj;
709}
710
711
712function isScope(obj) {

Callers 4

isArrayLikeFunction · 0.85
copyFunction · 0.85
equalsFunction · 0.85
toJsonReplacerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected