matchesOfAny<T> static method

bool matchesOfAny<T>(
  1. T interest,
  2. List<T> content
)

Implementation

static bool matchesOfAny<T>(T interest, List<T> content) {
  for (T e in content) {
    if (e == interest) {
      return true;
    }
  }
  return false;
}