We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Check if a value is boolean.
is(v) // v: a value
const xboolean = require('extra-boolean'); xboolean.is(true); // → true xboolean.is(false); // → true xboolean.is(0); // → false