Skip to main content
Module

x/ramda/mod.ts>zip

:ram: Practical functional Javascript
Latest
variable zip
import { zip } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Creates a new list out of the two supplied by pairing up equally-positioned items from both lists. The returned list is truncated to the length of the shorter of the two input lists. Note: zip is equivalent to zipWith(function(a, b) { return [a, b] }).