Skip to main content

Get List Item Position

Command description

Returns the zero-based position of an item's first occurrence, or -1 if the item is not present.

Command Input Parameters

input parametersInput parameter typeDescription
ListlistList to search
List ItemanyItem to locate

Command Output Parameters

Output parametersOutput parameter typeDescription
PositionintThe position where the specified item first appears, or -1 if it does not exist

AI Workflow Generation Notes

  • The command uses Python equality rules and returns -1 when the item is not found.