bitwise-or
v1.0.0
Published
Bitwise OR as a function
Downloads
29
Readme
bitwise-or
Bitwise OR (|
) as a function. Just in case you ever need to pass the operation
to something else as a function.
Example
var bitwiseOR = require('bitwise-or');
bitwiseOR(14, 9);
// => 15
Installation
$ npm install bitwise-or
API
var bitwiseOR = require('bitwise-or');
bitwiseOR(x, y)
Performs the OR
operation on bits x
and y
.