Booleans.isFalsy()

Determine whether the value is "falsy".

In Javascript, only the values 0, null, undefined, false, NaN and the empty string are "falsy".

Usage

Hover over inputs/exits for more info.

var Booleans = require('machinepack-booleans');


// Determine whether the value is "falsy".

Booleans.isFalsy({

value: '===',

}).execSync();

Inputs

value

The value to check.

'==='

Exits

error

An unexpected error occurred.

success

OK.

true