Exists - laforge49/Asynchronous-Functional-Programming GitHub Wiki
Send the Exists message to a sequence actor to find a value.
case class Exists[V](f: V => Boolean)
A simple test.
println(Future(new Range(1,4), Exists((a: Int) => a == 3)))
println(Future(new Range(1,4), Exists((a: Int) => a == 4)))
Output.
true
false