We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Checks if antecedent ⇒ consequent (a ⇒ b). 📰 📘
Similar: Imply, Nimply. Similar: Imply, Eq.
boolean.Imp(a, b) // a: antecedent // b: consequent
import ( boolean "github.com/golangf/extra-boolean" ) boolean.Imp(false, false) // true boolean.Imp(false, true) // true boolean.Imp(true, true) // true boolean.Imp(true, false) // false
There was an error while loading. Please reload this page.