{"version":3,"file":"isWorkerContext.js","names":[],"sources":["../../src/utils/isWorkerContext.ts"],"sourcesContent":["declare const WorkerGlobalScope: new () => Worker;\n\nexport function isWorkerContext(): boolean {\n  return (\n    typeof WorkerGlobalScope !== 'undefined' &&\n    typeof self !== 'undefined' &&\n    self instanceof WorkerGlobalScope\n  );\n}\n"],"mappings":";AAEA,SAAgB,kBAA2B;AACzC,QACE,OAAO,sBAAsB,eAC7B,OAAO,SAAS,eAChB,gBAAgB"}