Documentation

takeLast()

Returns a number of objects from the list.

takeLast(n: number, endingAt?: T): T[];

Parameters

Return value

An array containing the objects in the list

Related