{"name":"BIS_fnc_removeNestedElement","title":"BIS fnc removeNestedElement","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_removeNestedElement","revid":327527,"updated":"2022-07-12T22:34:05Z","groups":["Arrays"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Function to remove an item in a nested array. Modifies the array by reference.","syntaxes":[{"syntax":"[array, itemToRemove] call BIS_fnc_removeNestedElement","params":[{"name":"array","type":"Array","type_expr":"Array"},{"name":"itemToRemove","type":"Anything","type_expr":"Anything"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true on success, false on failure"}}],"examples":[{"code":["private _array = [[1, 2], [3, 3, 4]];\nprivate _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"]}