Returns the index of
item
in the
collection
, using the
collection-test-function
to determine equality, and returns nil
if no match is found.
The search is done by sequentially comparing
item
to each item in
collection
using the collection's
test-function
, which is cl:eq
by default.
search-for-item
is the counterpart function to get-collection-item which given an index, finds the appropriate item.
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017