isRight property

bool get isRight

Represents the right side of Either class which by convention is a "Success"

Implementation

bool get isRight => this is Right<L, R>;