Docs (4.0.0)
class ManagedList method

take

Returns a number of objects from the list.

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

Parameters

  • n — The number of objects to return
  • startingFrom — The first object to return (optional, defaults to the first item)

Return value

An array containing the objects in the list

Related