BIS fnc arrayFindDeep: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "|= Execution " to "|Execution= ") | m (Text replacement - "|Game version=" to "|Game version=  |gr1= Arrays |GROUP1") | ||
| Line 5: | Line 5: | ||
| |1.00|Game version= | |1.00|Game version= | ||
| |gr1= Arrays |GROUP1 | |||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 09:19, 6 October 2020
Description
- Description:
- GROUP1 ____________________________________________________________________________________________
- Execution:
- call
- Groups:
- Arrays
Syntax
- Syntax:
- Searches an array for a specific value and returns its index.
- Parameters:
- array: Array - Array to be searched
- value Anything - Value to be searched for
- Return Value:
- [array,value] call BIS_fnc_arrayFindDeep
Examples
- Example 1:
- [ [1,2,3,4,5], 3 ] call BIS_fnc_arrayFindDeep;//Returns [2]
Additional Information
- See also:
- Array - Returns array with index of found element, if it wasn't found it returns -1
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
 Only post proven facts here! Add Note
 
	