Arguments
str
required
The key of the list.
unknown
required
The element to match.
int
Which match to return. 1 to return the first match, 2 to return the second match, and so on.
1 by default.
int
The maximum number of elements to match. If specified, an array of elements
is returned instead of a single element.
int
Limit the number of comparisons to perform.
Response
The index of the matching element or an array of indexes if
count is
specified.