Skip to content

Latest commit

 

History

History

is-node

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

IS_NODE

Check if the runtime is Node.js.

Usage

var IS_NODE = require( '@stdlib/assert/is-node' );

IS_NODE

Boolean indicating if the runtime is Node.js.

var bool = IS_NODE;
// returns <boolean>

Examples

var IS_NODE = require( '@stdlib/assert/is-node' );

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