Home > @wixc3/common > forEach
Signature:
export declare function forEach<T>(iterable: Nullable<Iterable<T>>, fn: Mapping<T, unknown>): void;
Parameter | Type | Description |
---|---|---|
iterable | [Nullable](/core3-utils/common.nullable.html)<Iterable<T>> | |
fn | [Mapping](/core3-utils/common.mapping.html)<T, unknown> |
Returns:
void