retainAllWhere method

bool retainAllWhere(
  1. bool predicate(
    1. T
    )
)

Retains only elements of this KtMutableIterable that match the given predicate

@return true if any element was removed from the collection, false if the collection was not modified.

Implementation

bool retainAllWhere(bool Function(T) predicate) =>
    _filterInPlace(predicate, false);