Docs (4.0.0)
class ManagedList method

toArray

Returns an array that contains all objects in the list.

toArray(): T[]

Notes

  • If the list is unlinked, this method returns an empty array.
  • If you only need to iterate over all values, use the objects() method instead.

Related