flip-args

1.0.0 • Public • Published

flip-args.js

Flip arguments of function

Usage

var flip = require('flip')

var testFunc = (a1, a2) => a1 - a2;

var flipTestFunc = flip(testFunc);

console.log(flipTestFunc(2, 3) == testFunc(3, 2)); // true

Readme

Keywords

none

Package Sidebar

Install

npm i flip-args

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • tease