ApiResult
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ApiResult
core
/
pro.respawn.apiresult
/
map
map
infix inline
fun
<
T
,
R
>
ApiResult
<
T
>
.
map
(
block
:
(
T
)
->
R
)
:
ApiResult
<
R
>
Change the type of the
Success
to
R
without affecting
Error
/
Loading
results
See also
map
Error
map
try
Map