mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 09:21:25 +08:00
6 lines
139 B
JavaScript
6 lines
139 B
JavaScript
export default function isWindow (obj) {
|
|
/* eslint no-eq-null: 0 */
|
|
/* eslint eqeqeq: 0 */
|
|
return obj != null && obj == obj.window
|
|
}
|