Skip to content
Subhajit Sahu edited this page Jul 19, 2022 · 15 revisions

Check if a boolean is false.

Similar: and, or, not, xor.


not(a)
// a: a boolean
const xboolean = require('extra-boolean');

xboolean.not(false);
// → true

xboolean.not(true);
// → false


References

Clone this wiki locally