npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

fj-find

1.0.1

@hemanth

npmHomeRepoSnykSocket
Downloads:1
$ npm install fj-find
DailyWeeklyMonthlyYearly

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