Function: map()
map<
ElementType
,MappedType
>(iterable
:IterableResolvable
<ElementType
>,callbackFn
: (element
:ElementType
,index
:number
) =>MappedType
):IterableIterator
<MappedType
>
Creates an iterable with the results of calling a provided function on each element.