find

fun find(list: List, data: <Error class: unknown class>? = null): List

Finds the element in a #GList which contains the given data.

Return

the found #GList element, or null if it is not found

Parameters

list

a #GList, this must point to the top of the list

data

the element data to find