R.oo (version 1.22.0)

getSuperclasses.Class: Gets the super classes of this class

Description

Gets the super classes of this class.

Usage

# S3 method for Class
getSuperclasses(this, ...)

Arguments

...

Not used.

Value

Returns a vector of character strings.

See Also

class(). *getKnownSubclasses(). For more information see Class.

Examples

Run this code
# NOT RUN {
  print(getSuperclasses(RccViolationException))
  
# }
# NOT RUN {
  returns
  [1] "Exception" "try-error" "Object"
  
# }

Run the code above in your browser using DataLab