Check if the runtime is a web browser.
var isBrowser = require( '@stdlib/utils/is-browser' );
Boolean
indicating if the runtime is a web browser.
var bool = isBrowser;
// returns <boolean>
var isBrowser = require( '@stdlib/utils/is-browser' );
console.log( isBrowser );
// => <boolean>