vectorized is_numeric