
Returns the index of item in the collection , using the collection-test-function to determine equality, and returns nil if no match is found. This is the counterpart function to get-collection-item which given an index, finds the appropriate item.