Map.forEach() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
function |
{function} |
No |
argument? |
{any} |
Yes |
{any[]}
Execute a function once for each element in this Data Structure. The following arguments will be provided to the function and can be accessed in it by using their name or the argument array:
• argument[0]: _i {int}
• argument[1]: _key {any}
• argument[2]: _value {any}
• argument[3]: _argument {any}