iter::lastIndexOfAny
lastIndexOfAny(items, targets)
lastIndexOfAny(items, targets, startIndex: Integer)
| Parameter | Type | Description |
|---|---|---|
| items | Iterable | The Iterable to look in |
| targets | Iterable | The values to search for |
| (optional) startIndex | Integer | Which index to start at |
Returns
(Integer) The index of the last item that is equal to one of the values, or -1 if no match was found.