protected function isArrayAllKeySequential($value)
    {
        if (! is_array($value)) {
            return false;
        }

        if (count($value) <= 0) {
            return true;
        }

        return array_unique(array_map('is_int', array_keys($value))) === [true];
    }
protected function isArrayAllKeySequential($value)
    {
        if (! is_array($value)) {
            return false;
        }

        if (count($value) <= 0) {
            return true;
        }

        return array_unique(array_map('is_int', array_keys($value))) === [true];
    }
protected function isArrayAllKeySequential ( $ value ) { if ( ! is_array ( $ value ) ) { return false ; } if ( count ( $ value ) <= 0 ) { return true ; } return array_unique ( array_map ( 'is_int' , array_keys ( $ value ) ) ) === [ true ] ; }
Check if array are all sequential.

@param array|string $value

@return bool
Check if array are all sequential .