Skip to main content
Module

x/fae/zipWith.ts>zipWith

A functional module for Deno inspired from Ramda.
Latest
variable zipWith
import { zipWith } from "https://deno.land/x/fae@v1.1.1/zipWith.ts";

Creates a new list out of two passed lists list1, list2. Each item of new list is calculated by applying equally-positioned pair in both the lists. The returned is truncated to the length of the shorter of the two input lists.

 Fae.zipWith(Fae.add, [100, 200, 300], [1, 2, 3]) // [101, 202, 303]

type

ZipWith