Summary
Depending on weither the option actually holds a value the withValue is executed or the withoutValue is executed.
- Namespace
- FunctionalSharp
.OptionTypes - Containing Type
- IOption
<T>
Syntax
void Match(Action<T> withValue, Action withoutValue)
Parameters
| Name | Type | Description |
|---|---|---|
| withValue | Action |
|
| withoutValue | Action |
Return Value
| Type | Description |
|---|---|
| void |
