New in Formulas 2.0
The findIndex()
function will return the index number of the first item in a list that matches the condition. Note that this function is zero-indexed, so 0
will be returned for the first value.
findIndex(list, condition)
list.findIndex(condition)
Code language: JavaScript (javascript)