IEnumerable<T>.All(TPredicate<T>) Method

Determines whether all elements of a sequence satisfy a condition.

Namespace: Spring.Collections
 function All(const predicate: TPredicate<T>): Boolean;


Type: TPredicate<T>

A function to test each element for a condition.

Return Value

Type: Boolean

True if every element of the source sequence passes the test in the specified predicate, or if the sequence is empty; otherwise, False.