takeLast

Returns a new list containing the last n elements of this list.

Parameters

n

Number of elements to take from the end of the list.

Throws