Skip to content

iter::findIndex ​

findIndex(items) => a ​

ParameterTypeDescription
itemsIterable

Returns ​

(*) The index of the first item for which the closure evaluates to true. Returns -1 if no item was found.