lastIndexWhere

trait Collection[A] {
  def lastIndexWhere(p: (A) => Boolean): Int
  def lastIndexWhere(p: (A) => Boolean: j: Int): Int
}

lastIndexWhere returns the index of the last element that satisfy the predicate p.

The search can start at the given offset j.

If no element satisfy p then this function returns -1.