micro_utils.dokka
0.14.0
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[jvm]mapOnFirst
map
On
First
jvm
inline
fun
<
T1
,
R
>
Either
<
T1
,
*
>
.
mapOnFirst
(
block
:
(
T1
)
->
R
)
:
R
?
Return
Result of
block
if
this
is
EitherFirst