ArrayParser.getPositionsCondition() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
condition |
{function} |
No |
argument? |
{any} |
Yes |
{int[]}
Return an array with all positions of values fulfilling the specified condition function by causing it to return true. 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}