2.0.0 • Published 5 years ago

@hamgom95/ndim v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

@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

ParamDescription
dimsArray that defined the dimensions of the resulting array.
fillerFiller callback that gets all indexes of cell as arguments (fills with undefined by default).
createContainerContainer creating function (creates Arrays by default).