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;
 

Dependents (0)

Package Sidebar

Install

npm i x-or

Weekly Downloads

0

Version

1.1.0

License

ISC

Last publish

Collaborators

  • ryanscottaudio