8 lines
126 B
JavaScript
8 lines
126 B
JavaScript
define( function() {
|
|
"use strict";
|
|
|
|
return function isWindow( obj ) {
|
|
return obj != null && obj === obj.window;
|
|
};
|
|
|
|
} );
|