strv_contains
Description:
[
Version ( since =
"2.44" ) ]
public bool strv_contains (
string[] str_array,
string str)
Checks if an array of strings contains the string str according to [func@GLib.
str_equal]. strv must not be `NULL`.
Parameters:
| str |
the string to search for
|
| strv |
an array of strings to search in
|
Returns:
|
true if str is an element of strv
|