Detect whether the current runtime resembles a browser environment.
true when window and document are present.
true
window
document
Detect whether the current runtime resembles a browser environment.