Skip to main content
Module

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

Faster and smaller alternative to Ramda
Latest
function forEachIndexed
import { forEachIndexed } from "https://deno.land/x/rambda@v9.2.0/files/index.d.ts";

Parameters

fn: IndexedIterator<T, void>
list: T[]

Parameters

fn: IndexedIterator<T, void>

Returns

(list: T[]) => T[]

Parameters

fn: ObjectIterator<T, void>
list: Dictionary<T>

Returns

Dictionary<T>

Parameters

fn: ObjectIterator<T, void>

Returns

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