R/is.R
is_vector_2.Rd
Test if object is a vector of length 2
is_vector_2(x)
An object to test.
A logical.
is_vector_2(c(100, 200)) #> [1] TRUE is_vector_2(42) #> [1] FALSE