nthData

fun nthData(list: SList, n: <Error class: unknown class>): <Error class: unknown class>?

Gets the data of the element at the given position.

Return

the element's data, or null if the position is off the end of the #GSList

Parameters

list

a #GSList

n

the position of the element