Checks if the current runtime is a window environment.
检查当前运行时是否为浏览器窗口环境。
True if in a window environment, false otherwise. 如果在窗口环境中则返回 true,否则返回 false
// Returns a boolean, runtime-dependentisWindow() // => true | false Copy
// Returns a boolean, runtime-dependentisWindow() // => true | false
Checks if the current runtime is a window environment.
检查当前运行时是否为浏览器窗口环境。