You are here

final public function ArrayIndexer::hasAny in Drupal 7 to 8/9 Module Upgrader 8

Overrides IndexerBase::hasAny

File

src/ArrayIndexer.php, line 12

Class

ArrayIndexer

Namespace

Drupal\drupalmoduleupgrader

Code

public final function hasAny(array $keys) {
  foreach ($keys as $key) {
    if ($this
      ->count($key)) {
      return TRUE;
    }
  }
  return FALSE;
}