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