MCPcopy Create free account
hub / github.com/apache/struts-examples / isWindow

Function isWindow

rest-angular/src/main/webapp/js/lib/angular/angular.js:696–698  ·  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

694 * @returns {boolean} True if `obj` is a window obj.
695 */
696function isWindow(obj) {
697 return obj && obj.window === obj;
698}
699
700
701function isScope(obj) {

Callers 4

isArrayLikeFunction · 0.70
copyElementFunction · 0.70
equalsFunction · 0.70
toJsonReplacerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected