Skip to contents

Test if object is a vector of length 3

Usage

is_vector_3(x)

Arguments

x

An object to test.

Value

A logical.

Examples

is_vector_3(c(1, 2, 3))
#> [1] TRUE
is_vector_3(c(1, 2))
#> [1] FALSE