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

Arguments

Name
Type
Optional
key...
{any}
No
value...
{any}
No

Returns

{bool|bool[]}

Description

Add one or more key and value pairs to this Map. Fails if a key already existed for that specific addition. Returns true if the addition was successful, false if it was not or an array of such in case of multiple additions.

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