UNPKG

@pierre/diffs

Version:

8 lines (7 loc) 273 B
//#region src/utils/isWorkerContext.ts function isWorkerContext() { return typeof WorkerGlobalScope !== "undefined" && typeof self !== "undefined" && self instanceof WorkerGlobalScope; } //#endregion export { isWorkerContext }; //# sourceMappingURL=isWorkerContext.js.map