Summary
returns the value in the parameter withoutValue.
- Namespace
- FunctionalSharp
.OptionTypes - Containing Type
- None
<T>
Syntax
public TResult Match<TResult>(Func<T, TResult> withValue, TResult withoutValue)
Type Parameters
Name | Description |
---|---|
TResult | The result type. |
Parameters
Name | Type | Description |
---|---|---|
withValue | Func |
Not executed. |
withoutValue | TResult | The value returned. |
Return Value
Type | Description |
---|---|
TResult |