last

fun last(): DataT

Returns the last data item in the list. If the list is empty, it returns the initialData.