Learn R Programming

R.oo (version 1.21.0)

getName.Class: Gets the name of the class

Description

Gets the name of the class.

Usage

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

Arguments

...

Not used.

Value

Returns a character string.

See Also

For more information see Class.

Examples

Run this code
# NOT RUN {
  print(getName(Object))   # "Object"
  print(getName(Class))    # "Class"
# }

Run the code above in your browser using DataLab