Skip to content

A tiny 'or' function for functional programming.

License

Notifications You must be signed in to change notification settings

moeriki/node-fp-or

Repository files navigation

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];

About

A tiny 'or' function for functional programming.

Resources

License

Stars

Watchers

Forks

Packages

No packages published