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

Checks if any value is true. 📰 📘

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


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


or(True, False)
# True

or(False, False)
# False

or(False, True, False, True)
# True

or(False, False, False, False)
# False


References

Clone this wiki locally