-
Notifications
You must be signed in to change notification settings - Fork 0
nand
Subhajit Sahu edited this page Jul 19, 2022
·
15 revisions
Check if any boolean is false.
nand([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 xboolean = require('extra-boolean');
xboolean.nand(true, false);
// → true
xboolean.nand(true, true);
// → false
xboolean.nand(true, true, false, true);
// → true
xboolean.nand(true, true, true, true);
// → false