Docs (4.0.0)
class ManagedList method

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