fieldExists()
Overview
public boolean function fieldExists(
required string objectName
, required string fieldName
)
Returns whether or not the passed field exists on the passed object
Arguments
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | Name of the object whose field you wish to check |
fieldName | string | Yes | Name of the field you wish to check the existance of |