strvEqual
fn
bool strvEqual(string[] strv1, string[] strv2)Checks if two arrays of strings contain exactly the same elements in exactly the same order.
Elements are compared using funcGLib.str_equal. To match independently of order, sort the arrays first (using funcGLib.qsort_with_data or similar).
Elements are compared using funcGLib.str_equal. To match independently of order, sort the arrays first (using funcGLib.qsort_with_data or similar).
Two empty arrays are considered equal. Neither strv1 nor strv2 may be NULL.
Parameters
strv1 | an array of strings to compare to strv2 |
strv2 | an array of strings to compare to strv1 |
Returns
true if strv1 and strv2 are equal