Description
Function to remove an item in a nested array. Modifies the array by reference.
Syntax
[array, itemToRemove] call BIS_fnc_removeNestedElement
Parameters:
Returns: Boolean - true on success, false on failure
Examples
Example 1
private _array = [[1, 2], [3, 3, 4]];
private _success = [_array, 3] call BIS_fnc_removeNestedElement; // _array is now [[1, 2], [4]]
See also
BIS_fnc_findNestedElement · BIS_fnc_findAllNestedElements · BIS_fnc_returnNestedElement · BIS_fnc_setNestedElement