Skip to contents

Determine which class is contained (extended) in the requested class definition.

Usage

classContains(class, package)

Arguments

class

character(1). Class name.

package

character(1). Package name.

Value

character(1). Name of extended class.

Note

Updated 2021-01-28.

See also

Examples

x <- classContains(class = "data.frame", package = "methods")
print(x)
#> [1] "list"