IndexOf¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The sequence to search through. | [Any] |
||
Output ➡️ |
The index of the item or a sequence of indices. | [Int] Int |
||
Item |
No | The item to find the index of from the input, if it's a sequence it will try to match all the items in the sequence, in sequence. | none |
Any |
All |
No | If true will return a sequence with all the indices of Item, empty sequence if not found. | false |
Bool |
Predicate |
No | Optional shards to use for more complex matching. | none |
Shard [Shard] |
This shard will search the input sequence for the index of an item or a pattern of items (specified in the Item parameter) and return its index(or a sequence of indices).