source:
imaps-frontend/node_modules/resize-observer-polyfill/src/utils/isBrowser.js
Last change on this file was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 210 bytes |
Line | |
---|---|
1 | /** |
2 | * Detects whether window and document objects are available in current environment. |
3 | */ |
4 | export default typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document; |
Note:
See TracBrowser
for help on using the repository browser.