success

fun <T> success(value: T): ResultCompat<T>

Returns a Result that encapsulates the given value as successful value.