protected static function kintVariableData::_isSequential in Devel 8.2
Same name and namespace in other branches
- 8 kint/kint/inc/kintVariableData.class.php \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
Code
protected static function _isSequential(array $array) {
return array_keys($array) === range(0, count($array) - 1);
}