13 type_class()

The function type_class() provides the type and class of an object–tc() is a synonym. The type() function provides the object’s type.

type_class(mtcars)
##         type        class 
##       "list" "data.frame"
tc(mtcars)
##         type        class 
##       "list" "data.frame"
type(mtcars)
## [1] "list"