Function

Agsstrv_contains

since: 3.0.0

Declaration [src]

gboolean
ags_strv_contains (
  gchar** str_array,
  gchar* str
)

Description [src]

Check occurence of str within str_array.

Available since: 3.0.0

Parameters

str_array

Type: An array of utf8

The string vector.

The array must be NULL-terminated.
The data is owned by the caller of the function.
Each element is a NUL terminated UTF-8 string.
str

Type: gchar*

The string to match.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if found, else FALSE.