filter method

Iterable<T> filter(
  1. ConditionTester<T> test
)

Filters elements based on a predicate (alias for where).

Implementation

Iterable<T> filter(ConditionTester<T> test) => where(test);