R.oo (version 1.26.0)

getFields.Object: Returns the field names of an Object

Description

Returns the field names of an Object.

Usage

# S3 method for Object
getFields(this, private=FALSE, ...)

Value

Returns a character

vector of field names.

Arguments

private

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

...

Not used.

Author

Henrik Bengtsson

See Also

To check if a field exists or not, see *hasField(). For more extensive information about the fields in an Object see *ll(). For more information see Object.