ArrayParser.getPositionsCondition() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
condition
No
argument?
{any}
Yes

Returns

{int[]}

Description

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}

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