_IsValueGreaterThanArray (Integer, Array)

Checks if an integer value is greater than all of the date times in an array.

Syntax

_IsValueGreaterThanArray(valueToTest,valueList)

Parameters

Parameter Definition Data type

valueToTest

Integer value with which to compare the values in the array.

Integer

valueList

Array of integer values against which to compare the value specified in the valueToTest parameter.

Array of Integer values

Returns

True or False (Boolean), indicating whether the integer value to test is greater than all of the elements in the list.

Notes

The valueToTest value is compared to each element of the array. If the value is greater than every element of the array, the method returns True. If at least one element is less than or equal to the value, the method returns False.