all method

bool all(
  1. bool test(
    1. R right
    )
)

Returns true when this is a Left or when test passes for the Right value.

Implementation

bool all(bool Function(R right) test) => fold((left) => true, test);