append

fun append(value: T)

Adds an element to the end of the list a.k.a the tail Time complexity O(1)

Parameters

value

T