Skip to content
Subhajit Sahu edited this page May 28, 2021 · 15 revisions

Checks if value is false.
📦 NPM, 😺 GitHub, 🏃 RunKit, 🌔 Minified, 📜 Files, 📰 JSDoc, 📘 Wiki.

Similar: and, or, not, xor.


not(a)
// a: a boolean
const {not} = require("extra-boolean");

not(false);
// true

not(true);
// false


References

Clone this wiki locally