Skip to content

Function: isWebContext()

ts
function isWebContext(): boolean;

Determines if the current execution context is a web-like environment.

Returns

boolean

True if the global object is an object (i.e., running in a web or similar context), false otherwise.