removeAllWhere method Null safety

bool removeAllWhere(
  1. bool predicate(
    1. T
    )
)

Removes all elements from 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 removeAllWhere(bool Function(T) predicate) =>
    _filterInPlace(predicate, true);