same_class.Rd
same_class()
tests if two objects have the same
class different_class()
tests if two objects
have different class
same_class(x, y)
an R object
an R object
same_class(letters[1:3], "class") # TRUE
#> [1] TRUE
same_class(1:3, "class") # FALSE
#> [1] FALSE