index_of method

index_of

Determines the index of a specific IMathBlock in collection.

Returns

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

def index_of(self, math_block):
    ...
ParameterTypeDescription
math_blockIMathBlockThe item to locate in the collection.

See Also