forEach

open fun forEach(action: (T) -> Unit)(source)

For each element in the stream, call the given function

Since

0.5.1

Parameters

action

The action to call