Function: isWorkerGlobalObject()
isWorkerGlobalObject(
value:Readonly<Expression>):boolean
Defined in: _internal/worker-code-loading.ts:66
Check whether an expression is one of the common global objects used for worker-related APIs.
Parametersâ
valueâ
Readonly<Expression>
Expression to inspect.
Returnsâ
boolean
Whether the expression is window, self, or globalThis.