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

Checks if all values are true. 📰 📘

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


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


and_(True, True)
# True

and_(True, False)
# False

and_(True, True, True, True)
# True

and_(True, False, True, True)
# False


References

Clone this wiki locally