Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>zipObj

Faster and smaller alternative to Ramda
Go to Latest
function zipObj
import { zipObj } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Type Parameters

T
K extends string

Parameters

keys: K[]
values: T[]

Returns

[P in K]: T

Type Parameters

K extends string

Parameters

keys: K[]

Returns

<T>(values: T[]) => [P in K]: T

Type Parameters

T
K extends number

Parameters

keys: K[]
values: T[]

Returns

[P in K]: T

Type Parameters

K extends number

Parameters

keys: K[]

Returns

<T>(values: T[]) => [P in K]: T