Method

UnwrapOrElse

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

Type: Option<T>
Namespace: System
Assembly: Raven.Core.dll
Source file: Option.rvn

Returns the contained value or evaluates factory().