You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you'd be using this in some SSR or Node.js environment I'd recommend a try/catch block in your own code
try{console.log('is.existy(window): ',is.existy(window))// will throw an error if not run in a web browser}catch(error){console.log('no window object on Node.js: ',error)}
I would think checks for window itself would've been wrapped with a try/catch so this would work out of the box?
is.existy(window)
oris.windowObject(window)
Getting
error - ReferenceError: window is not defined
The text was updated successfully, but these errors were encountered: