Table of Contents

Method MapEighth

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

MapEighth<T>(Func<T8, T>)

Transforms the value if this holds the eighth case, and passes each other case through unchanged.

public Either<T1, T2, T3, T4, T5, T6, T7, T> MapEighth<T>(Func<T8, T> f)

Parameters

f Func<T8, T>

The function to transform the eighth case with.

Returns

Either<T1, T2, T3, T4, T5, T6, T7, T>

An either whose eighth case has type T. It holds the result of f if this held the eighth case, and otherwise the same case and value as this.

Type Parameters

T

The type that the eighth case becomes.

Remarks

This calls f only when this holds the eighth case.