1.4 KiB
1.4 KiB
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>