cf.FieldList.index

FieldList.index(x, start=0, stop=None)[source]

L.index(value, [start, [stop]]) – return first index of value.

Each field in the {+variable} is compared with the field’s equals method (as aopposed to the == operator).

It is an error if there is no such field.

See also

list.index

Examples:
>>>