@hamgom95/ndim
Create multidimensional arrays.
API Documentation
ndim([dims], [filler], [createContainer])
Create multi-dimensional array from index specifying array and fill using callback.
Kind: global function
Param | Description |
---|---|
[dims] | Array that defined the dimensions of the resulting array. |
[filler] | Filler callback that gets all indexes of cell as arguments (fills with undefined by default). |
[createContainer] | Container creating function (creates Arrays by default). |