nth

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

Gets the element at the given position in a #GSList.

Return

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

Parameters

list

a #GSList

n

the position of the element, counting from 0