Identifies the element type of the array-like or iterable.
Identifies returned type of the array
An array-like object or iterable to convert to an array.
Optional
mapFn: ArrFromMapFn<T, U>A mapping function to call on every element of the array. If provided, every value to be added to the array is first passed through this map function, and the return value is added to the array instead. The function is called with the following arguments:
Optional
thisArg: anyValue of 'this' used to invoke the mapfn.
Creates an new shallow-copied array from an array-like object or an iterable.
Since
0.9.7
Example