Map.fromArray() - Mtax-Development/GML-OOP GitHub Wiki

Argument

Name
Type
Optional
array
{any[]}
No

Returns

Not applicable.

Description

Add key and value pairs from the specified array to this Map. The first dimension of the array must contain keys and the second their value pairs. Values not provided for a key will be set to {undefined}.

⚠️ **GitHub.com Fallback** ⚠️