kotlin-stdlib
Common
kotlin-stdlib
/
kotlin
/
Result
/
Companion
/
success
success
@
JvmName
(
name
=
"success"
)
inline
fun
<
T
>
success
(
value
:
T
)
:
Result
<
T
>
(
source
)
Returns an instance that encapsulates the given
value
as successful value.