Skip to main content
Module

x/fae/mod.ts>zipObj

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

Returns a new object out of given list of keys and values. The returned is truncated to the length of the shorter of the two.

 Fae.zipObj(['a', 'b', 'c'], [1, 2, 3]) // {a: 1, b: 2, c: 3}

type

ZipObj