isRight property

bool isRight

Returns whether this Either is an Either.right.

Implementation

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