Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@1.0.3/base/arr.ts";

Parameters

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