Method
Match
func Match<TResult>(some: T -> TResult, none: () -> TResult) -> TResult
Declaring type: Optional<T>
Namespace: System
Assembly: Raven.Core.dll
Source file: Optional.rvn
Matches the option and produces a value.
Parameters
| Name | Type | Description |
|---|---|---|
some |
T -> TResult | |
none |
() -> TResult |
Return value
TResult