Method

UnwrapOrElse

func UnwrapOrElse(factory: () -> T) -> T

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

Unwrap the value if Ok, otherwise return the value from factory().