str_in_list()#
Check if a value exists in a list of strings.
Prototype
PUBLIC BOOL str_in_list(
const char *list[],
const char *value
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The list of strings to search. |
|
|
The value to search for in the list. |
Return Value
Returns TRUE if the value exists in the list, otherwise returns FALSE.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples