containsWhere method

bool containsWhere(
  1. ReplaceValidator<T> validator
)

Implementation

bool containsWhere(ReplaceValidator<T> validator) {
  for (final item in this) {
    if (validator(item)) return true;
  }
  return false;
}