Documentation

take()

Returns a number of objects from the list.

take(n: number, startingFrom?: T): T[];

Parameters

Return value

An array containing the objects in the list

Related