function kintVariableData::_isSequential

* returns whether the array: * 1) is numeric and * 2) in sequence starting from zero * *

Parameters

array $array: * * @return bool

1 call to kintVariableData::_isSequential()
kintParser::_parse_array in kint/kint/inc/kintParser.class.php

File

kint/kint/inc/kintVariableData.class.php, line 78

Class

kintVariableData

Code

protected static function _isSequential(array $array) {
    return array_keys($array) === range(0, count($array) - 1);
}