Method

UnwrapOr

func UnwrapOr(defaultValue: T) -> T

Type: Result<T, E>
Namespace: System
Assembly: Raven.Core.dll
Source file: Result.rvn

Returns the successful value, or defaultValue for an error.