lookup
fun lookup(data: <Error class: unknown class>? = null, cmpFunc: CompareDataFunc): SequenceIter?(source)
Returns an iterator pointing to the position of the first item found equal to @data according to @cmp_func and @cmp_data. If more than one item is equal, it is not guaranteed that it is the first which is returned. In that case, you can use g_sequence_iter_next() and g_sequence_iter_prev() to get others.
Return
an #GSequenceIter pointing to the position of the first item found equal to @data according to @cmp_func and @cmp_data, or null if no such item exists
Since
2.28
Parameters
data
data to look up
cmpFunc
the function used to compare items in the sequence