strvContains

Checks if an array of strings contains the string str according to funcGLib.str_equal. strv must not be NULL.

bool
strvContains
(
string[] strv
,
string str
)

Parameters

strv string[]

an array of strings to search in

str string

the string to search for

Return Value

Type: bool

true if str is an element of strv