@extra-boolean/and.min

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

Usage no npm install needed!

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

README

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

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

This is part of package extra-boolean.

This is browserified, minified version of @extra-boolean/and.
It is exported as global variable boolean_and.
CDN: unpkg, jsDelivr.


and([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 {and} = require("extra-boolean");

and(true, true);
// true

and(true, false);
// false

and(true, true, true, true);
// true

and(true, false, true, true);
// false


References