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>