Table of Contents

Interface IEither

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

The general non-generic view of each either, regardless of how many cases it has.

[PublicAPI]
public interface IEither
Extension Methods

Remarks

Where the number of cases is known, IEitherOfTwo and its wider siblings add the operations that agree. Where the types are known, prefer Either<T1, T2> itself.

Methods

GetValueAsObject()

Gets whichever value this holds, without regard to which case it is.