Skip to main content
Module

x/rambda/immutable.d.ts>forEach

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

It applies iterable function over all members of list and returns list.

Parameters

fn: Iterator<T, void>
list: readonly T[]

Returns

readonly T[]

Parameters

fn: Iterator<T, void>

Returns

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

Parameters

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

Returns

Dictionary<T>

Parameters

fn: ObjectIterator<T, void>

Returns

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