Skip to content

Latest commit

 

History

History

is-browser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

isBrowser

Check if the runtime is a web browser.

Usage

var isBrowser = require( '@stdlib/utils/is-browser' );

isBrowser

Boolean indicating if the runtime is a web browser.

var bool = isBrowser;
// returns <boolean>

Examples

var isBrowser = require( '@stdlib/utils/is-browser' );

console.log( isBrowser );
// => <boolean>