isRight<L, R> function

bool isRight<L, R>(
  1. Either<L, R> either
)

Returns true if the Either is a Right.

Implementation

bool isRight<L, R>(Either<L, R> either) => either._isRight;