success

Common
JVM
JS
Native
1.0
fun <T> success(value: T): Result<T>

Returns an instance that encapsulates the given value as successful value.