first

fun first(list: List): List

Gets the first element in a #GList.

Return

the first element in the #GList, or null if the #GList has no elements

Parameters

list

any #GList element