Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The Quantifier operators, All, Any, and Contains return Boolean result values based on the presence or absence of certain data within a sequence. These operators could all be built by creating queries that filter the data using a Where clause and comparing the resulting sequence element count to see if it is greater than zero. But these operators are optimized for their purpose and return a result at the first possible point, avoiding iterating an entire sequence (often referred to as short-circuit evaluation).
The All operator returns the Boolean result of true if all elements in a sequence pass the predicate function supplied.