first_match


Description:

[ CCode ( ordering = 10 ) ]
public virtual G first_match (owned Predicate<G> pred)

Returns the first element that matches a given condition

Parameters:

pred

Predicate to be called to check for matches

Returns:

The first element that matches or null

Since:

0.19.91




2022 vala-language.org