MCPcopy
hub / github.com/angular-ui/ui-grid / isWindow

Function isWindow

lib/test/angular/1.8.0/angular.js:816–818  ·  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

814 * @returns {boolean} True if `obj` is a window obj.
815 */
816function isWindow(obj) {
817 return obj && obj.window === obj;
818}
819
820
821function 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