Skip to main content
Module

x/rambda/source/xnor.js

Faster and smaller alternative to Ramda
Go to Latest
File
export function xnor(x, y) { if (arguments.length === 1) { return _y => xnor(x, _y) }
return Boolean((x && y) || (!x && !y))}