success

@JvmName(name = "success")
inline fun <T> success(value: T): Result<T>(source)

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

Since Kotlin

1.3