Method Map
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
Map<TResult>(Func<T, TResult>)
Maps the value with the given function when there is one, and gives no value when there is none.
public Maybe<TResult> Map<TResult>(Func<T, TResult> f)
Parameters
Returns
Type Parameters
TResultThe type of the maybe result value.