findIndex method

int findIndex(
  1. Function predicate
)

findIndex Returns the index of the first element predicate returns truthy for. @param predicate the function to determine equality

Implementation

int findIndex(Function predicate) => array.findIndex(this, predicate);