getOrDefault

fun <R, T : R> CatchingResult<T>.getOrDefault(defaultValue: R): R(source)

See also