R.oo (version 1.20.0)

getName.Class: Gets the name of the class

Description

Gets the name of the class.

Usage

"getName"(this, ...)

Arguments

...
Not used.

Value

Returns a character string.

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 DataCamp Workspace