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