Returns the last element without removing it. Returns null if the list is empty.
Example:
var list = new LinkedList<string> (GLib.str_equal);
list.addLast ("a");
list.addLast ("b");
assert (list.peekLast () == "b");
assert (list.size () == 2);
|
the last element, or null if empty. |