java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn2.Any<A>
Type Parameters:
A - The input Iterable element type
All Implemented Interfaces:
Fn1<Fn1<? super A,? extends Boolean>,Fn1<Iterable<A>,Boolean>>, Fn2<Fn1<? super A,? extends Boolean>,Iterable<A>,Boolean>, BiPredicate<Fn1<? super A,? extends Boolean>,Iterable<A>>, Applicative<Fn1<Iterable<A>,Boolean>,Fn1<Fn1<? super A,? extends Boolean>,?>>, Cartesian<Fn1<? super A,? extends Boolean>,Fn1<Iterable<A>,Boolean>,Fn1<?,?>>, Cocartesian<Fn1<? super A,? extends Boolean>,Fn1<Iterable<A>,Boolean>,Fn1<?,?>>, Contravariant<Fn1<? super A,? extends Boolean>,Profunctor<?,Fn1<Iterable<A>,Boolean>,Fn1<?,?>>>, Functor<Fn1<Iterable<A>,Boolean>,Fn1<Fn1<? super A,? extends Boolean>,?>>, Profunctor<Fn1<? super A,? extends Boolean>,Fn1<Iterable<A>,Boolean>,Fn1<?,?>>, Monad<Fn1<Iterable<A>,Boolean>,Fn1<Fn1<? super A,? extends Boolean>,?>>, MonadReader<Fn1<? super A,? extends Boolean>,Fn1<Iterable<A>,Boolean>,Fn1<Fn1<? super A,? extends Boolean>,?>>, MonadRec<Fn1<Iterable<A>,Boolean>,Fn1<Fn1<? super A,? extends Boolean>,?>>, MonadWriter<Fn1<? super A,? extends Boolean>,Fn1<Iterable<A>,Boolean>,Fn1<Fn1<? super A,? extends Boolean>,?>>

public final class Any<A> extends Object implements BiPredicate<Fn1<? super A,? extends Boolean>,Iterable<A>>
Eagerly apply a predicate to each element in an Iterable, returning true if any element satisfies the predicate, and false otherwise. This method short-circuits on the first true evaluation.
See Also: