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

x/rambda/rambda.js>mapObjIndexed

Faster and smaller alternative to Ramda
Latest
function mapObjIndexed
import { mapObjIndexed } from "https://deno.land/x/rambda@9.4.1/rambda.js";

It works the same way as R.map does for objects. It is added as Ramda also has this method.

Parameters

fn: ObjectIterator<T, T>
iterable: Dictionary<T>

Returns

Dictionary<T>

Parameters

fn: ObjectIterator<T, U>
iterable: Dictionary<T>

Returns

Dictionary<U>

Parameters

fn: ObjectIterator<T, T>

Returns

(iterable: Dictionary<T>) => Dictionary<T>

Parameters

fn: ObjectIterator<T, U>

Returns

(iterable: Dictionary<T>) => Dictionary<U>