toggle menu
Quiver Library
jvm
switch theme
search in API
Quiver Library
/
app.cash.quiver.extensions
/
forEach
for
Each
inline
fun
<
A
,
B
>
Either
<
A
,
B
>
.
forEach
(
f
:
(
B
)
->
Unit
)
(
source
)
Performs an effect on the right side of the Either.
inline
fun
<
A
>
Option
<
A
>
.
forEach
(
f
:
(
A
)
->
Unit
)
(
source
)
Runs a side effect if the option is a Some