Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getFields.BasicObject

Returns the field names of an BasicObject


Description

Returns the field names of an BasicObject.

Usage

## S3 method for class 'BasicObject'
getFields(this, private=FALSE, ...)

Arguments

private

If TRUE, private fields will also be returned, otherwise only public fields are returned.

...

Not used.

Value

Returns a character vector of field names.

Author(s)

Henrik Bengtsson

See Also

To check if a field exists or not, see *hasField(). For more information see BasicObject.


R.oo

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.