Ternary logic for Go.
go get github.com/cristalhq/ternary
a, b, c := ternary.False, ternary.Unknown, ternary.True
ternary.Not(a)
ternary.Imp(a, b)
ternary.ImpL(a, c)
ternary.MA(b)
See these docs.
Ternary logic for Go.
go get github.com/cristalhq/ternary
a, b, c := ternary.False, ternary.Unknown, ternary.True
ternary.Not(a)
ternary.Imp(a, b)
ternary.ImpL(a, c)
ternary.MA(b)
See these docs.