GlideRecord - isValidField(String fieldName)

Determines if the specified field is defined in the current table.

Table 1. Parameters
Name Type Description
fieldName String Name of a field.
Table 2. Returns
Type Description
Boolean True if the field is valid, false otherwise.

Scoped equivalent

To use the isValidField() method in a scoped application, use the corresponding scoped method:Scoped GlideRecord - isValidField(String columnName).