Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/lib/fp/associate-array.ts>associateArray

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
variable associateArray
import { associateArray } from "https://deno.land/x/hex@0.6.5/src/lib/fp/associate-array.ts";

type

<T>(instance: Iterable<T>, predicate: (
value: T,
index: number,
instance: Record<string | number | symbol, T>,
) =>
| string
| number
| symbol
| undefined
) => Record<string | number | symbol, T>