Files
Arbitrate-FrontendH5/node_modules/resize-observer-polyfill/src/utils/isBrowser.js
T
2024-01-18 10:46:33 +08:00

5 lines
206 B
JavaScript

/**
* Detects whether window and document objects are available in current environment.
*/
export default typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;