search

fun search(data: <Error class: unknown class>? = null, cmpFunc: CompareDataFunc): SequenceIter(source)

Returns an iterator pointing to the position where @data would be inserted according to @cmp_func and @cmp_data.

Return

an #GSequenceIter pointing to the position where @data would have been inserted according to @cmp_func and @cmp_data

Since

2.14

Parameters

data

data for the new item

cmpFunc

the function used to compare items in the sequence