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

Made by Antonio Ramirez

fj-apply

1.0.0

@hemanth

npmHomeRepoSnykSocket
Downloads:7
$ npm install fj-apply
DailyWeeklyMonthlyYearly

fj-apply

Build Status npm version

apply in functional style!

Installation

npm install fj-apply --save

Usage

var apply = require('fj-apply');
apply(Math.min,[-1,1,2,42,0]); // -1

API

(*... -> a) -> [*]-> a
  • fn (madatory) function to applied.

  • arg (madatory) arguments with which fn should be called.