toggle menu
micro_utils.dokka
0.21.5
common
switch theme
search in API
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
mapOnFirst
map
On
First
inline
fun
<
T1
,
R
>
Either
<
T1
,
*
>
.
mapOnFirst
(
block
:
(
T1
)
->
R
)
:
R
?
(
source
)
Return
Result of
block
if
this
is
EitherFirst