ramda-adjunct
ramda-adjunct copied to clipboard
xnor
Is your feature request related to a problem? Please describe.
Complement of nor
Describe the solution you'd like
xnor(true, true); //=> true
xnor(true, false); //=> false
xnor(false, true); //=> false
xnor(false, false); //=> true
Describe alternatives you've considered
--
Additional context
Complement of nor. Is true only if both values are the same.
- T T = T
- T F = F
- F T = F
- F F = T
See: #234
It is actually the complement of xor
(from Ramda), right?