Skip to content
Subhajit Sahu edited this page Mar 24, 2021 · 9 revisions

Checks if any value is false. 📰 📘

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


Boolean.nand(a, b, ...)
// a: 1st boolean
// b: 2nd boolean
import io.github.javaf.*;

Boolean.nand(true, false);
// true

Boolean.nand(true, true);
// false

Boolean.nand(true, true, false, true);
// true

Boolean.nand(true, true, true, true);
// false


References

Clone this wiki locally