CBA_fnc_findMax

Description

Find largest numeric value with index in an array.

Parameters

_array: Array with Numbers

Example

_result = [0, 4, 3, -2] call CBA_fnc_findMax

Returns

_max: largest value in array _index: index of the largest value in array nil on failure

Author

joko // Jonas, commy2, Dorbedo

Close