Retrieve the index of a certain item in a list
ID
list-list-item-index
Name
Item Index
Group
List
Package
List
Keywords
After creating a node, connect the list to search to the first port. You need to connect the item to search for to the second port. On the output ports, we will get the index of item, and number of equal items.
List Item
Remove Subset
Reverse List
List Length
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
list | Any | List to search | |
item | Any | Item to search for |
Outputs
Name | Type | Description |
---|---|---|
indexes | Number | Index of item |
count | Number | Count of equal items |