Method MapSeventh
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
MapSeventh<T>(Func<T7, T>)
Transforms the value if this holds the seventh case, and passes each other case through unchanged.
public Either<T1, T2, T3, T4, T5, T6, T> MapSeventh<T>(Func<T7, T> f)
Parameters
fFunc<T7, T>The function to transform the seventh case with.
Returns
- Either<T1, T2, T3, T4, T5, T6, T>
An either whose seventh case has type
T. It holds the result offif this held the seventh case, and otherwise the same case and value as this.
Type Parameters
TThe type that the seventh case becomes.
Remarks
This calls f only when this holds the seventh case.