CBA_fnc_reject

Description

Reject array elements for which the block returns true

Parameters

_arrayInput Array [Array]
_blockBlock [Code]

Returns

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

Example

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

Author

MuzzleFlash

Close