Grouping.all Method
Determines whether all elements of a sequence satisfy a condition.
Parameters
- predicate
-
Type: Function
A function to test each element for a condition.
Optional: True
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.