isLeft method

bool isLeft()

isLeft returns true if the instance contains a left value.

Implementation

bool isLeft() => _left != null;