-
Notifications
You must be signed in to change notification settings - Fork 0
Nand
Subhajit Sahu edited this page Mar 24, 2021
·
2 revisions
Checks if any value is false. 📰 📘
boolean.Nand[n](a, b, ...)
// a: 1st boolean
// b: 2nd boolean
import (
boolean "github.com/golangf/extra-boolean"
)
boolean.Nand(true, false)
// true
boolean.Nand(true, true)
// false
boolean.Nand4(true, true, false, true)
// true
boolean.Nand4(true, true, true, true)
// false