getOrDefault

infix inline fun <E, T> KResult<E, T>.getOrDefault(default: (E) -> T): T(source)

Returns the value of the Success side, or the result of the default function otherwise

Since

0.2.0