Documentation / @ripl/utilities / arrayMapRange
Function: arrayMapRange() ​
arrayMapRange<
TResult>(length,iteratee):TResult[]
Defined in: collection.ts:41
Creates an array of the given length by mapping each index through the iteratee.
Type Parameters ​
| Type Parameter |
|---|
TResult |
Parameters ​
| Parameter | Type |
|---|---|
length | number |
iteratee | (index) => TResult |
Returns ​
TResult[]