any_match


Description:

[ CCode ( ordering = 11 ) ]
public virtual bool any_match (owned Predicate<G> pred)

Returns whether any element matches the given predicate.

This is similar to @first_match, with the difference that it just returns whether there is a match or not, not the value of the match.

Parameters:

pred

Predicate to be called to check for matches

Returns:

Whether there was a match or not

Since:

0.19.91