maxIndex

Returns the maximum valid index of the given array.

Usage

    number = maxIndex(array);