toggle menu
micro_utils.dokka
0.20.35
common
switch theme
search in API
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
(
source
)
Will call
block
in case when
this
is
EitherFirst