anyTrue method

bool anyTrue()

Returns true if at least one value is true.

Implementation

bool anyTrue() {
  for (final v in this) {
    if (v == true) return true;
  }
  return false;
}