lookupIter

fun lookupIter(data: <Error class: unknown class>? = null, iterCmp: SequenceIterCompareFunc): SequenceIter?(source)

Like g_sequence_lookup(), but uses a #GSequenceIterCompareFunc instead of a #GCompareDataFunc as the compare function.

Return

an #GSequenceIter pointing to the position of the first item found equal to @data according to @iter_cmp and @cmp_data, or null if no such item exists

Since

2.28

Parameters

data

data to look up

iterCmp

the function used to compare iterators in the sequence