fj-apply

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i fj-apply

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • hemanth
  • stoeffel