index_of method

On this page

index_of

Returns the zero‑based index of a metadata signature with the specified name.

def index_of(self, name):
    ...
Parameter Type Description
name str The case‑insensitive name of the MetadataSignature.

Returns: int: The zero‑based index, or a negative value if not found.

See Also

On this page