Skip to content
Subhajit Sahu edited this page Mar 25, 2021 · 7 revisions

Checks if any value is false. 📰 📘

Similar: and_, nand.
Similar: and_, or_, not_, xor.


nand(a, b, ...)
# a: 1st boolean
# b: 2nd boolean
from extra_boolean import nand


nand(True, False)
# True

nand(True, True)
# False

nand(True, True, False, True)
# True

nand(True, True, True, True)
# False


References

Clone this wiki locally