fieldExists()

Method of the data object that returns true if a certain metadata field, column or node exists. (See data.)

fieldExists(levelName, propertyName)

This method returns true if the given metadata field exists at the given level in a PDF/VT or AFP file.

levelName

String, specifying a level in the PDF/VT or AFP file.

propertyName

String, specifying the metadata field.

fieldExists(fieldName)

This method returns true if a column with the specified name exists in the current record in a CSV, XLS or XLSX file.

To verify whether a column specified by index exists in a CSV, XLS or XLSX file, use fieldExistsByIndex(index).

fieldName

String that represents a field name (column) in a CSV, XLS or XLSX file.

fieldExists(xPath)

This method returns true if the specified node exists in the current record in an XML file.

xPath

String that specifies a node.

fieldExists(jPath)

This method returns true if the specified element exists in the current record in a JSON file.

jPath

String that specifies an element.