Module

x/fresh/runtime.ts>IS_BROWSER

The next-gen web framework.
Extremely Popular
Latest
variable IS_BROWSER
import { IS_BROWSER } from "https://dotland.deno.dev/x/fresh@1.7.3/runtime.ts";

Returns true when the current runtime is the browser and false otherwise. This is used for guard runtime-dependent code. Shorthand for the following: typeof document !== "undefined"