whereNotIndexed method

Iterable<E> whereNotIndexed(
  1. bool test(
    1. int index,
    2. E element
    )
)

The elements whose value and index do not satisfy test.

Implementation

Iterable<E> whereNotIndexed(bool Function(int index, E element) test) sync* {
  for (var index = 0; index < length; index++) {
    var element = this[index];
    if (!test(index, element)) yield element;
  }
}