CBA_fnc_select

Description

Select array elements for which the block returns true

Parameters

_arrayInput Array [Array]
_blockBlock [Code]

Returns

New array with elements included for which the block returns true [Array]

Example

_result = [[1, 2, 3], {_this in [2, 3]}] call CBA_fnc_select;
// _result => [2, 3]

Author

MuzzleFlash

Close