index_of method

index_of

Determines the index of a specific math element in collection.

Returns

The index of item if found in the collection; otherwise, -1.

def index_of(self, item):
    ...
ParameterTypeDescription
itemIMathElementThe element to locate in the collection.

See Also