Result
inline class Result<out T> : Serializable
Properties
Functions
Companion Object Functions
Extension Functions
getOrDefault
Returns the encapsulated value if this instance represents success or the defaultValue if it is failure.
fun <R, T : R> Result<T>.getOrDefault(defaultValue: R): R