fj-find

1.0.1 • Public • Published

fj-find

Build Status npm version

find FP style.

Installation

npm install fj-find --save

Usage

var find = require('fj-find');
 
let isOdd = (x) => x & 1;
 
find(isOdd, [1,2,3]) // 1
 
let getOdds = find(isOdd);
 
getOdds([1,2,3]) // 1

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i fj-find

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • hemanth
  • schtoeffel