Checks if a field exists or not.

# S3 method for class 'Object'
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

Henrik Bengtsson

See also

To get the fields of an Object, see *getFields(). For more extensive information about the fields in an Object see *ll(). For more information see Object.

Examples