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

Checks if antecedent ⇒ consequent (a ⇒ b). 📰 📘

Similar: imply, nimply.
Similar: imply, eq.


imp(a, b)
# a: antecedent
# b: consequent
from extra_boolean import imp


imp(False, False)
# True

imp(False, True)
# True

imp(True, True)
# True

imp(True, False)
# False


References

Clone this wiki locally