Function: isWorkerConstructor()
isWorkerConstructor(
callee:Readonly<Expression>):boolean
Defined in: _internal/worker-code-loading.ts:77
Check whether a constructor callee targets Worker or SharedWorker.
Parametersâ
calleeâ
Readonly<Expression>
Constructor callee to inspect.
Returnsâ
boolean
Whether the callee is a worker constructor.