isEitherLeft property

Future<bool> isEitherLeft

Represents the left side of Either class which by convention is a "Failure".

Implementation

Future<bool> get isEitherLeft => then((Either<L, R> either) => either.isLeft);