Callback signature for arrMap that is called for every element of array. Each time callbackFn executes, the returned value is added to newArray.
Identifies the type of the array elements
Identifies the type of the elements returned by the callback function, defaults to T.
The current element being processed in the array.
Optional
The index of the current element being processed in the array.
The array that the map function was called on.
map
0.3.3
Callback signature for arrMap that is called for every element of array. Each time callbackFn executes, the returned value is added to newArray.