Find class of an object or an ancestor of the object. In contrast to class
which returns a class object and all its ancestors, this function returns
either the class of the object itself, or the class of one of its ancestors.
object_class(object, ancestor = 0)
get_object_class(object, ancestor = 0, ...)
object_classes(..., objects = list(...))
ANY
Object to get the class of
(integer(1))
If greater than 0 then the given ancestor
to get the class for, see examples
ANY
Objects to vapply
over
(list(1))
Alternative constructor with list
of objects
object_classes
is a stripped-down wrapper to get the class of multiple
objects