fp-or

1.0.1 • Public • Published

fp-or

A tiny 'or' function for functional programming.

Build Status Coverage Status Known Vulnerabilities

Install

$ npm install --save fp-or

Usage

const or = require('fp-or');
 
const result = [0, 1, 0, 2, 0, 3].map(or(5));
 
// result = [5, 1, 5, 2, 5, 3];

/fp-or/

    Package Sidebar

    Install

    npm i fp-or

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • moeriki