FutureProg functions
indexof
indexof overload 1
Number indexof(Void Collection collection, CollectionItem item)
Available in
- computer function
- computer program
- standard futureprog
This function returns the zero-based index of a specified item in the collection, if present. If not present it returns -1.
| Parameter | Type | Description |
|---|---|---|
collection |
Void Collection |
A collection of anything |
item |
CollectionItem |
The item whose position in the collection you want to know |