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

Checks if even no. of values are true. 📰 📘

Similar: xor, xnor.
Similar: and, or, not, xor.


xnor[n] a b ...
-- a: 1st boolean
-- b: 2nd boolean
import Boolean exposing (..)

xnor True True
-- True

xnor False True
-- False

xnor4 True True False False
-- True

xnor4 True True True False
-- False


References

Clone this wiki locally