1.0.0 • Published 10 years ago

bitwise-or v1.0.0

Weekly downloads
27
License
MIT
Repository
github
Last release
10 years ago

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.