All Manuals > CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

search-for-item

Generic Function
Summary

The generic function search-for-item returns the index of an item in a collection.

Package

capi

Signature

search-for-item collection item

Description

Returns the index of item in the collection , using the collection-test-function to determine equality, and returns nil if no match is found.

search-for-item is the counterpart function to get-collection-item which given an index, finds the appropriate item.

See also

get-collection-item
collection


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex