R.oo (version 1.26.0)

hasField.BasicObject: Checks if a field exists or not

Description

Checks if a field exists or not.

Usage

# S3 method for BasicObject
hasField(this, field, ...)

Value

Returns a logical

vector indicating for each field if it exists or not.

Arguments

field

vector of fields to be checked if they exists or not.

...

Not used.

Author

Henrik Bengtsson

See Also

To get the fields of an Object, see *getFields(). For more information see BasicObject.