Fieldisrepeated

Syntax

result = fieldisrepeated (tag_or_field_name)

Arguments

result: integer

tag_or_field_name: text

Meaning

Checks whether the provided field is defined in the data dictionary as a repeated field. Result = 1 if the field is repeated, and result = 0 if it is not repeated.

Example 1

result = fieldisrepeated (‘institution.name’)

Result

Result = 0.

Example 2

result = fieldisrepeated ('OB')

Result

Result = 1