Expression functionsArray OperationsfindIndexOn this pagefindIndexThe position of the first matching element, or -1 findIndex(arr: array, predicate: closure) -> int Arguments NameTypearrarraypredicateclosure Example {{ findIndex([1, 5, 9], # > 3) }} Returns 1.