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

Checks if value is false. 📰 📘

Similar: And, Or, Not, Xor.


boolean.Not(a)
// a: a boolean
import (
	boolean "github.com/golangf/extra-boolean"
)

boolean.Not(false)
// true

boolean.Not(true)
// false


References

Clone this wiki locally