strv_contains


Description:

[ Version ( since = "2.44" ) ]
public bool strv_contains (string[] str_array, string str)

Checks if strv contains str.

strv must not be null.

Parameters:

str

a string

strv

a null-terminated array of strings

Returns:

true if str is an element of strv, according to str_equal.


Namespace: GLib
Package: glib-2.0



2022 vala-language.org