getClasses
Get the Classes Defined in an Environment

Description

Returns the names of all of the the classes that are defined in the environment specified by where. If where is missing, then it returns all of the classes visible from the caller function.

Usage

getClasses(where = .externalCallerEnv(), inherits = missing(where))

Arguments

where a character string, or an integer value that corresponds to an environment or package from the search list (search()).
inherits this argument is unimplemented, and a warning is generated if it is given.
Value
returns a character vector of class names.
Examples
getClasses("package:methods")
getClasses()


Package methods version 6.1.4-13
Package Index