findLast

trait Collection[A] {
  def findLast(p: (A) => Boolean): Option[A]
}

findLast returns the last element that satisfy the predicate p, wrapped with Some.

If no element in this collection satisfy p then this function returns None.