component-xor
tiny xor utility function
Last updated 13 years ago by tootallnate .
MIT · Original npm · Tarball · package.json
$ npm install component-xor 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.4                                ...           latest (12 years ago)

2 Versions

  • 0.0.4                                ...           12 years ago
  • 0.0.3                                ...           13 years ago
Maintainers (1)
Downloads
Total 7
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE