x-or
v1.1.0
Published
Node/browser exclusive or function.
Downloads
10
Readme
node-x-or
Node/browser exclusive or function.
What's this?
Implements the logical exclusive or function in JS.
Installation
npm install x-or
Usage
var xor = require('x-or');
xor(true, false) === true;
xor(false, true) === true;
xor(true, true) === false;
xor(false, false) === false;