Module

x/lodash_es/mod.ts>unzipWith

lodash for deno use
Latest
function unzipWith
import { unzipWith } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/mod.ts";

This method is like _.unzip except that it accepts iteratee to specify how regrouped values should be combined. The iteratee is invoked with the elements of each group: (...group).

Examples

var zipped = _.zip([1, 2], [10, 20], [100, 200]); // => [[1, 10, 100], [2, 20, 200]]

_.unzipWith(zipped, _.add); // => [3, 30, 300]

Parameters

array

The array of grouped elements to process.

iteratee