find

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

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

Return

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

Parameters

list

a #GSList

data

the element data to find