strvEqual

fun strvEqual(strv1: List<String>, strv2: List<String>): Boolean

Checks if two arrays of strings contain exactly the same elements in exactly the same order.

Elements are compared using func@GLib.str_equal. To match independently of order, sort the arrays first (using func@GLib.qsort_with_data or similar).

Elements are compared using func@GLib.str_equal. To match independently of order, sort the arrays first (using func@GLib.qsort_with_data or similar).

Two empty arrays are considered equal. Neither @strv1 nor @strv2 may be NULL.

Return

true if @strv1 and @strv2 are equal

Since

2.60

Parameters

strv1

an array of strings to compare to @strv2

strv2

an array of strings to compare to @strv1