Exists2
Last updated
Was this helpful?
Last updated
Was this helpful?
Tests if any pair of corresponding elements of the collections satisfies the given predicate
.
If any application returns true then the overall result is true and no further elements are tested. Otherwise, false is returned.
WARNING
This function causes evaluation.
Parameters
Returns
Func<T, T, bool> predicate
IEnumerable<T> source1
IEnumerable<T> source2
bool
Checking for the existence of a even and an odd number in any pair of the two collections