_.zipWith([])
_.zipWith([arrays], [iteratee=_.identity])
This method is like _.zip
except that it accepts iteratee to specify how grouped values should be combined. The iteratee is invoked with the elements of each group: (...group).
Arguments
[arrays] (...Array)
: The arrays to process.
[iteratee=_.identity] (Function)
: The function to combine grouped values.
Returns
(Array)
: Returns the new array of grouped elements.