Str.strvContains

Checks if @strv contains @str. @strv must not be %NULL.

struct Str
static
bool
strvContains
(
string strv
,
string str
)

Parameters

strv string

a %NULL-terminated array of strings

str string

a string

Return Value

Type: bool

%TRUE if @str is an element of @strv, according to g_str_equal().

Meta

Since

2.44