where method

Either<L, R> where(
  1. bool predicate(
    1. R r
    ),
  2. L fallback()
)

Implementation

Either<L, R> where(bool Function(R r) predicate, L Function() fallback) =>
    filter(predicate, fallback);