-
Notifications
You must be signed in to change notification settings - Fork 0
Nimply
Subhajit Sahu edited this page Mar 24, 2021
·
2 revisions
Checks if antecedent ⇏ consequent (a ⇏ b). 📰 📘
boolean.Nimply(a, b)
// a: antecedent
// b: consequent
import (
boolean "github.com/golangf/extra-boolean"
)
boolean.Nimply(true, false)
// true
boolean.Nimply(true, true)
// false
boolean.Nimply(false, true)
// false
boolean.Nimply(false, false)
// false