Grid.fromArray() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
array |
{any[]} |
No |
default? |
{any} |
Yes |
Not applicable.
Replace this Grid
with one that has the size
and values of the specified 1D or 2D array. Since arrays can have columns of varying sizes and represent no value in some Grid
cells, a default value will be used in such cases.