Boolean indicating if the current process is running on Darwin.
var isDarwin = require( '@stdlib/utils/is-darwin' );
Boolean
indicating if the current process is running on Darwin.
console.log( isDarwin );
// returns <boolean>
var isDarwin = require( '@stdlib/utils/is-darwin' );
if ( isDarwin ) {
console.log( 'Running on Darwin...' );
} else {
console.log( 'Running on %s...', process.platform );
}