IS_ELECTRON_RENDERER

Check if the runtime is the Electron renderer process.

Usage

var IS_ELECTRON_RENDERER = require( '@stdlib/assert/is-electron-renderer' );

IS_ELECTRON_RENDERER

Boolean indicating if the runtime is the Electron renderer process.

var bool = IS_ELECTRON_RENDERER;
// returns <boolean>

Examples

var IS_ELECTRON_RENDERER = require( '@stdlib/assert/is-electron-renderer' );

console.log( IS_ELECTRON_RENDERER );
// => <boolean>
Did you find this page helpful?