MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / isWindow

Function isWindow

OpenReservation/wwwroot/Scripts/angular.js:683–685  ·  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

681 * @returns {boolean} True if `obj` is a window obj.
682 */
683 function isWindow(obj) {
684 return obj && obj.window === obj;
685 }
686
687 function isScope(obj) {
688 return obj && obj.$evalAsync && obj.$watch;

Callers 4

isArrayLikeFunction · 0.85
copyElementFunction · 0.85
equalsFunction · 0.85
toJsonReplacerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected