Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/base/arr.ts>reverseMap

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function reverseMap
import { reverseMap } from "https://deno.land/x/rimbu@0.13.5/base/arr.ts";

Parameters

array: readonly T[]
f: (value: T, index: number) => R
optional
indexOffset = [UNSUPPORTED]