Table of Contents

Method Second

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

Second(T2)

Creates an either holding the given value as its second case.

public static Either<T1, T2, T3, T4, T5, T6> Second(T2 value)

Parameters

value T2

The value to hold.

Returns

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

An either holding value as its second case.

Remarks

Second<T>(T) is usually more convenient, since it leaves the remaining type arguments for the context to supply.