R/is.R
is_vector_4.Rd
Test if object is a vector of length 4
is_vector_4(x)
An object to test.
A logical.
is_vector_4(c(0, 0, 0, 1)) #> [1] TRUE is_vector_4(c(1, 2, 3)) #> [1] FALSE