jasmine.scout.arrays findIndex returns the index of the element for which the given predicate returns true (from jasmine.specs)