core3-utils

@wixc3/common on Github

Home > @wixc3/common > forEach

forEach() function

Signature:

export declare function forEach<T>(iterable: Nullable<Iterable<T>>, fn: Mapping<T, unknown>): void;

Parameters

Parameter Type Description
iterable [Nullable](/core3-utils/common.nullable.html)<Iterable<T>>
fn [Mapping](/core3-utils/common.mapping.html)<T, unknown>

Returns:

void