@oazmi/kitchensink - v0.9.13
github
readme
src
dist
examples
Preparing search index...
array2d
newArray2D
Function newArray2D
newArray2D
<
T
>
(
rows
:
number
,
cols
:
number
,
fill_fn
?:
|
T
|
(
(
value
?:
undefined
,
column_index
?:
number
,
column_array
?:
(
undefined
|
T
)
[]
,
)
=>
T
)
,
)
:
Array2DRowMajor
<
T
>
create a new row-major 2d array, with provided value or fill function.
Type Parameters
T
Parameters
rows
:
number
cols
:
number
Optional
fill_fn
:
|
T
|
(
(
value
?:
undefined
,
column_index
?:
number
,
column_array
?:
(
undefined
|
T
)
[]
,
)
=>
T
)
Returns
Array2DRowMajor
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
github
readme
src
dist
examples
@oazmi/kitchensink - v0.9.13
Loading...
create a new row-major 2d array, with provided value or fill function.