@extra-boolean/nor

Checks if all values are false. 📦 NPM, 😺 GitHub, 🏃 RunKit, 🌔 Minified, 📜 Files, 📰 JSDoc, 📘 Wiki.

Usage no npm install needed!

<script type="module">
  import extraBooleanNor from 'https://cdn.skypack.dev/@extra-boolean/nor';
</script>

README

Checks if all values are false.
📦 NPM, 😺 GitHub, 🏃 RunKit, 🌔 Minified, 📜 Files, 📰 JSDoc, 📘 Wiki.

Similar: or, nor.
Similar: and, or, not, xor.

This is part of package extra-boolean.


nor([a], [b], [c], [d], [e], [f], [g], [h])
// a: 1st boolean
// b: 2nd boolean
// c: 3rd boolean
// d: 4th boolean
// e: 5th boolean
// f: 6th boolean
// g: 7th boolean
// h: 8th boolean
const {nor} = require("extra-boolean");

nor(false, false);
// true

nor(true, false);
// false

nor(false, false, false, false);
// true

nor(false, false, true, false);
// false


References