.Any(predicate)
sounds like what you want; returns bool
, returning true
as soon as a match is found, else false
. There is also:
.All(predicate)
which behaves in a similar way, returning false
as soon as a non-match is found, else true
.