@hamgom95/ndim
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@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).

Readme

Keywords

Package Sidebar

Install

npm i @hamgom95/ndim

Weekly Downloads

1

Version

2.0.0

License

ISC

Unpacked Size

4.97 kB

Total Files

9

Last publish

Collaborators

  • hamgom95