deb_tetra
R/tetra-class.R
deb_is_tetra.Rd
Test if an object is of class deb_tetra.
deb_is_tetra(x)
An object.
TRUE if object is of class deb_tetra and FALSE if it is not.
TRUE
FALSE
x <- deb_tetra(5, 3, 8, 2) y <- c(5, 3, 8, 2) deb_is_tetra(x) #> [1] TRUE deb_is_tetra(y) #> [1] FALSE