is_vector.Rd
Checks for a vector of one of these types: c("integer", "numeric", "character", "logical", "raw", "complex")
is_vector(vec)
A vector
is_vector(1:5)#> [1] TRUEis_vector(list(1:5))#> [1] FALSEis_vector(matrix(1:4, 2))#> [1] FALSE