isIncreasing

Examines each element, a_i starting at 0, and determines if all the elements are increasing a_0 lte a_1 lte a_2, etc.

Return

true if all elements are increasing, if there are 0 elements then it returns false, 1 element returns true

Parameters

array

the array to check, must not be null