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

hasField.BasicObject

Checks if a field exists or not


Description

Checks if a field exists or not.

Usage

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

Arguments

field

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

...

Not used.

Value

Returns a logical vector indicating for each field if it exists or not.

Author(s)

Henrik Bengtsson

See Also

To get the fields of an Object, see *getFields(). 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.