Check if the runtime is the Electron renderer process.
var IS_ELECTRON_RENDERER = require( '@stdlib/assert/is-electron-renderer' );
Boolean
indicating if the runtime is the Electron renderer process.
var bool = IS_ELECTRON_RENDERER;
// returns <boolean>
var IS_ELECTRON_RENDERER = require( '@stdlib/assert/is-electron-renderer' );
console.log( IS_ELECTRON_RENDERER );
// => <boolean>
@stdlib/assert/is-electron
: check if the runtime is Electron.@stdlib/assert/is-electron-main
: check if the runtime is the main Electron process.