Function Collection.indexOf

returns index of first occurence of item, size_t.max if not found

size_t indexOf(
  T item
);