Learn R Programming

R.oo (version 1.26.0)

getName.Class: Gets the name of the class

Description

Gets the name of the class.

Usage

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

Value

Returns a character string.

Arguments

...

Not used.

Author

Henrik Bengtsson

See Also

For more information see Class.

Examples

Run this code
  print(getName(Object))   # "Object"
  print(getName(Class))    # "Class"

Run the code above in your browser using DataLab