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