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