powered by
Returns the field names of a class.
# S3 method for Class getFields(this, private=FALSE, ...)
Returns a character
character
vector of field names.
vector
If TRUE, private fields will also be returned, otherwise only public fields are returned.
TRUE
Not used.
Henrik Bengtsson
For more information see Class.
Class
print(getFields(Exception))
Run the code above in your browser using DataLab