Finds the first index of an item in an iterable that matches the predicate, otherwise return -1.
type of the item
the iterable
the predicate
Finds the first index of an item in an iterable that matches the predicate, otherwise return -1.