dart / 2 / dart-collection / doublelinkedqueue / removewhere.html

removeWhere method

void removeWhere(
  1. bool test(
    1. E element
    )
)
override

Removes all elements matched by test from the queue.

The test function must not throw or modify the queue.

Implementation

void removeWhere(bool test(E element)) {
  _filter(test, true);
}

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-collection/DoubleLinkedQueue/removeWhere.html