{"name":"BIS_fnc_arrayFindDeep","operator":null,"title":"BIS fnc arrayFindDeep","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_arrayFindDeep","revid":349391,"updated":"2023-11-08T16:27:25Z","groups":["Arrays"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Searches an array for a specific value and returns its index.","syntaxes":[{"syntax":"[array,value] call BIS_fnc_arrayFindDeep","since":null,"effect":null,"exec":null,"params":[{"name":"array","type":"Array","optional":false,"default":null,"description":"array to be searched","types":["Array"],"since":null,"text":"array: Array - array to be searched"},{"name":"value Anything","type":null,"optional":false,"default":null,"description":"value to be searched for","types":["Anything"],"since":null,"text":"value Anything - value to be searched for"}],"returns":{"type":"Array","types":["Array"],"description":"returns array with index of found element, if it was not found it returns -1","text":"Array - returns array with index of found element, if it was not found it returns -1"}}],"examples":[{"text":"```sqf\n[[1,2,3,4,5], 3] call BIS_fnc_arrayFindDeep;//Returns [2]\n```","code":["[[1,2,3,4,5], 3] call BIS_fnc_arrayFindDeep;//Returns [2]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_addToPairs","find","select","BIS_fnc_removeIndex"],"notes":[],"categories":["Arma 2: Functions","Arma 2: New Functions","Arma 2: Operation Arrowhead: Functions","Arma 3: Functions","Function Group: Arrays","Functions","Introduced with Arma 2 version 1.00","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}