You are here

protected function QPList::isAssoc in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/Extension/QPList.php \QPList::isAssoc()
  2. 7.2 QueryPath/Extension/QPList.php \QPList::isAssoc()

File

QueryPath/Extension/QPList.php, line 100

Class

QPList

Code

protected function isAssoc($array) {
  return count(array_diff_key($array, range(0, count($array) - 1))) != 0;
}