Miss any of our Open RFC calls?Watch the recordings here! »

x-or

1.1.0 • Public • Published

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;
 

Install

npm i x-or

DownloadsWeekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • avatar