map-tuple
Map a list of n
-tuples to a function with n
separate arguments
Usage
var mapTuple = ; var tuples = 1 2 3 'x' 'y' 'z'; var result = ;//=> 1 undefined undefined //=> 2 3 undefined//=> x y z console;//=> [1, 5, "xyz"]
Map a list of n
-tuples to a function with n
separate arguments
var mapTuple = ; var tuples = 1 2 3 'x' 'y' 'z'; var result = ;//=> 1 undefined undefined //=> 2 3 undefined//=> x y z console;//=> [1, 5, "xyz"]
npm i map-tuple
1
1.0.0
none