toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.promise
/
toResult
to
Result
suspend
fun
<
T
>
PromiseLike
<
T
>
.
toResult
(
)
:
Result
<
T
>
(
source
)
fun
<
T
>
PromiseSettledResult
<
T
>
.
toResult
(
)
:
Result
<
T
>
(
source
)