R.oo (version 1.22.0)

getFields.BasicObject: Returns the field names of an BasicObject

Description

Returns the field names of an BasicObject.

Usage

# S3 method for 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.

See Also

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