Returns the item at a specified position in a collection.
capi
get-collection-item collection index
collection⇩ |
A collection. |
index⇩ |
A non-negative integer. |
The generic function get-collection-item
returns the item at position index from collection. It achieves this by calling the items-get-function of collection. There is also a complementary function, search-for-item which finds the index for a given item in a collection.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27