isLeft property

bool get isLeft

Represents the left side of Either class which by convention is a "Failure".

Implementation

bool get isLeft => this is Left<L, R>;