--- title: "$ListIndexOf" ---
This is generated from the built in components of BuildMaster 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your BuildMaster instance to see exactly what operations are available.

Finds the index of an item in a list. Finding the first item in a list returns 0, and finding an item not present in the list returns -1.

Script usage:

$ListIndexOf(List, Item)

Parameters:

NameDescription
ListThe list.
ItemThe item.