Gets the super classes of this class

Share:

Description

Gets the super classes of this class.

Usage

1
2
## S3 method for class 'Class'
getSuperclasses(this, ...)

Arguments

...

Not used.

Value

Returns a vector of character strings.

Author(s)

Henrik Bengtsson

See Also

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

Examples

1
2
3
4
5
6
  print(getSuperclasses(RccViolationException))
  ## Not run: 
  returns
  [1] "Exception" "try-error" "Object"
  
## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.