Queue.forEach() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
function
No
argument?
{any}
Yes
readOnly?
Yes

Returns

{any[]}

Description

Execute a function once for each element in this Data Structure. It can be treated as read-only for this operation, in which case it will be performed solely on its copy and the original will not be modified in order to read the values. 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]: _value {any}
  • argument[2]: _argument {any}

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