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