Documentation

map()

Returns an array of return values of the provided callback for all objects in the list.

map<TResult>(callback: (item: T) => TResult): TResult[];

Notes

Related