map
Returns an array of return values of the provided callback for all objects in the list.
map<TResult>(callback: (target: T) => TResult): TResult[]
Notes
- If the list is unlinked, this method returns an empty array.
- The behavior of this method is undefined if the callback modifies the list.
Related
- class ManagedListA data structure that contains an ordered set of managed objects.