successOr

fun <T> Result<T>.successOr(fallback: T): T

Deprecated

Deprecated

Replace with

Use [Result<*>.data] instead

Returns Result.Success.data if Result is of type Result.Success.