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

NameTypeRequiredDescription
objectNamestringYesName of the object whose field you wish to check
fieldNamestringYesName of the field you wish to check the existance of