EitherStatus Enum

Possible states of an Either

DECLARATION
public enum EitherStatus : byte
NAMESPACE
LanguageExt

Fields

IsBottom
0
Bottom state
REMARKS
If you use Filter or Where (or 'where' in a LINQ expression) with Either, then the Either will be put into a 'Bottom' state if the predicate returns false. When it's in this state it is neither Right nor Left. And any usage could trigger a BottomException. So be aware of the issue of filtering Either.

Also note, when the Either is in a Bottom state, some operations on it will continue to give valid results or return another Either in the Bottom state and not throw. This is so a filtered Either doesn't needlessly break expressions.
IsLeft
1
Left state
IsRight
2
Right state