effect-io-ai

Package: effect
Module: List

List.forEach

Applies the specified function to each element of the List.

Signature

declare const forEach: { <A, B>(f: (a: A) => B): (self: List<A>) => void; <A, B>(self: List<A>, f: (a: A) => B): void; }

Source

Since v2.0.0