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