MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / isElectronNodeRenderer

Function isElectronNodeRenderer

packages/core/src/utils/isBrowser.ts:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14// Electron renderers with nodeIntegration enabled are detected as Node.js so we specifically test for them
15function isElectronNodeRenderer(): boolean {
16 const process = (GLOBAL_OBJ as typeof GLOBAL_OBJ & { process?: ElectronProcess }).process;
17 return process?.type === 'renderer';
18}

Callers 1

isBrowserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected