fj-filpall

1.0.0 • Public • Published

fj-filpall

Build Status npm version

Given a function, returns a new function with all it's arguments flipped.

Installation

npm install fj-filpall --save

Usage

var filpall = require('fj-filpall');
 
var mergeThree = (a, b, c) =>  ([]).concat(a, b, c);
 
mergeThree(1, 2, 3); //=> [1, 2, 3]
 
filpall(mergeThree)(1, 2, 3); //=> [3,2,1]

Readme

Keywords

Package Sidebar

Install

npm i fj-filpall

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • hemanth
  • stoeffel