isRight method

bool isRight()

isRight returns true if the instance contains a right value.

Implementation

bool isRight() => _right != null;