flatEqualAny<V> method

bool flatEqualAny<V>(
  1. Iterable<V> values
)

Checks if any of the strings in the given values iterable is equal to the current string. Returns true if any string is equal, otherwise returns false.

Implementation

bool flatEqualAny<V>(Iterable<V> values) {
  for (var t in values) {
    if (flatEqual(t)) {
      return true;
    }
  }
  return false;
}