forEach<A> function

void forEach<A>(
  1. FoldableOps<dynamic, A> foldable,
  2. void sideEffect(
    1. A a
    )
)

Implementation

void forEach<A>(FoldableOps<dynamic, A> foldable, void sideEffect(A a)) =>
    foldable.foldLeft(null, (_, a) => sideEffect(a));