getOrElse

open override fun getOrElse(default: @UnsafeVariance Nothing): Nothing

Gets the result of the computation when successful, or a given default value otherwise.