hasAny method

bool hasAny(
  1. List<String> values
)

Implementation

bool hasAny(List<String> values) {
  if (this == null) return false;
  if (this!.isEmpty) return false;
  for (var value in values) {
    if (this!.contains(value)) return true;
  }
  return false;
}