Class Left<T>
Represents a standalone left value that can be implicitly converted to an Either.
Inherited Members
Namespace: Akka.Util
Assembly: Akka.dll
Syntax
public class Left<T>
Type Parameters
Name | Description |
---|---|
T | The type of the left value. |
Constructors
| Edit this page View SourceLeft(T)
Initializes a new instance of the Left<T> class.
Declaration
public Left(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The left value to contain. |
Properties
| Edit this page View SourceIsLeft
Gets a value indicating whether this instance represents a Left. Always returns true for Left instances.
Declaration
public bool IsLeft { get; }
Property Value
Type | Description |
---|---|
bool |
IsRight
Gets a value indicating whether this instance represents a Right. Always returns false for Left instances.
Declaration
public bool IsRight { get; }
Property Value
Type | Description |
---|---|
bool |
Value
Gets the left value contained in this instance.
Declaration
public T Value { get; }
Property Value
Type | Description |
---|---|
T |