time-to-botec/js/node_modules/@stdlib/assert/is-electron-renderer/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

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>