Method Fourth
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
Fourth(T4)
Creates an either holding the given value as its fourth case.
public static Either<T1, T2, T3, T4, T5, T6, T7, T8> Fourth(T4 value)
Parameters
valueT4The value to hold.
Returns
- Either<T1, T2, T3, T4, T5, T6, T7, T8>
An either holding
valueas its fourth case.
Remarks
Fourth<T>(T) is usually more convenient, since it leaves the remaining type arguments for the context to supply.