micro_utils.dokka
0.17.6
common
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
onFirst
on
First
inline
fun
<
T1
,
T2
,
E
:
Either
<
T1
,
T2
>
>
E
.
onFirst
(
block
:
(
T1
)
->
Unit
)
:
E
Will call
block
in case when
this
is
EitherFirst