Summary
returns the value generated by running withoutValue.
- Namespace
- FunctionalSharp
.OptionTypes - Containing Type
- None
<T>
Syntax
public TResult Match<TResult>(Func<T, TResult> withValue, Func<TResult> withoutValue)
Type Parameters
| Name | Description |
|---|---|
| TResult |
Parameters
| Name | Type | Description |
|---|---|---|
| withValue | Func |
|
| withoutValue | Func |
Return Value
| Type | Description |
|---|---|
| TResult |
