npm.io
1.0.0 • Published 12 years ago

bitwise-or

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
Stars
1

bitwise-or

Build Status

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.

Keywords