Select array elements for which the block returns true
_array | Input Array [Array] |
_block | Block [Code] |
New array with elements included for which the block returns true [Array]
_result = [[1, 2, 3], {_this in [2, 3]}] call CBA_fnc_select; // _result => [2, 3]
MuzzleFlash