public static function isNumericallyIndexed(array $values): bool
    {
        if (empty($values)) {
            return true;
        }

        reset($values);

        return is_int(key($values));
    }
public static function isNumericallyIndexed(array $values): bool
    {
        if (empty($values)) {
            return true;
        }

        reset($values);

        return is_int(key($values));
    }
public static function isNumericallyIndexed ( array $ values ) : bool { if ( empty ( $ values ) ) { return true ; } reset ( $ values ) ; return is_int ( key ( $ values ) ) ; }
Find out if the given array is numerically indexed?

@param array $values
@return bool
Find out if the given array is numerically indexed?