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