Method
UnwrapOr
func UnwrapOr(defaultValue: T) -> T
Declaring type: Optional<T>
Namespace: System
Assembly: Raven.Core.dll
Source file: Optional.rvn
Returns the contained value, or defaultValue when this option is None.
Parameters
| Name | Type | Description |
|---|---|---|
defaultValue |
T |
Return value
T