isLeft method

bool isLeft()

Implementation

bool isLeft() => fold((_) => true, (_) => false);