Method Array.search_array()
- Method
search_array
intsearch_array(arrayarr,string|function(:void)|intfun,mixed...args)- Description
search_array() works like map(), only it returns the index of the first call that returnes true instead.
If no call returns true, -1 is returned.
- See also