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
- class ManagedListA data structure that contains an ordered set of managed objects.