Skip to content
Subhajit Sahu edited this page Mar 24, 2021 · 2 revisions

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

Similar: Eq, Neq.
Similar: Imply, Eq.


boolean.Neq(a, b)
// a: antecedent
// b: consequent
import (
	boolean "github.com/golangf/extra-boolean"
)

boolean.Neq(true, false)
// true

boolean.Neq(false, true)
// true

boolean.Neq(true, true)
// false

boolean.Neq(false, false)
// false


References

Clone this wiki locally