remove

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

Removes an element from a #GSList. If two elements contain the same data, only the first is removed. If none of the elements contain the data, the #GSList is unchanged.

Return

the new start of the #GSList

Parameters

list

a #GSList

data

the data of the element to remove