Method
Match
func Match<T, U>(some: (T) -> U, none: () -> U) -> U
Declaring type: OptionalOperators
Module: System
Assembly: System.Runtime.dll
Extension from OptionalOperators.Match
Parameters
| Name | Type | Description |
|---|---|---|
self |
Optional<T> | |
some |
Function | |
none |
Function |
Return value
U