component-xor
v0.0.4
Published
tiny xor utility function
Downloads
255,773
Maintainers
Keywords
Readme
xor
tiny xor utility function
Installation
Install with component(1):
$ component install component/xor
Or with node.js:
$ npm install component-xor
API
xor(bool, bool)
XOR two boolean values.
xor(true, true) // false
xor(true, false) // true
xor(false, true) // true
xor(false, false) // false
Test
npm install
make test
License
MIT