BIS_fnc_randomIndex
Jump to navigation
Jump to search
Hover & click on the images for descriptions
Description
- Description:
- Return a random integer representing an index in the passed array.
Syntax
- Syntax:
- array call BIS_fnc_randomIndex
- Parameters:
- array: Array of Anything
- Return Value:
- Number
Examples
- Example 1:
-
["a",0,objNull] call BIS_fnc_randomIndex; // returns 0, 1 or 2