micro_utils.dokka
0.9.3
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[jvm]onFirst
on
First
jvm
inline
fun
<
T1
,
T2
,
E
:
Either
<
T1
,
T2
>
>
E
.
onFirst
(
block
:
(
T1
)
->
Unit
)
:
E
Content copied to clipboard
Will call
block
in case when
Either.t1
of
this
is not null