{"name":"BIS_fnc_arrayShuffle","title":"BIS fnc arrayShuffle","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_arrayShuffle","revid":327476,"updated":"2022-07-12T22:13:51Z","groups":["Arrays"],"status":"ok","games":{"arma3":"0.58"},"since":"arma3 0.58","arma3_since":"0.58","description":"Return a new array with randomized order of elements from input array.","syntaxes":[{"syntax":"array call BIS_fnc_arrayShuffle","params":[{"name":"array","type":"Array","type_expr":"Array"}],"returns":{"type":"Array","type_expr":"Array","description":"a new array instance"}}],"examples":[{"code":["[1,2,3] call BIS_fnc_arrayShuffle; // can return [1,2,3] (the original order), [3,1,2], [2,3,1], [1,3,2], [2,1,3] or [3,2,1]"]}],"see_also":["sort","BIS_fnc_sortBy","random"]}