_IsValueLessThanOrEqualToArray (Float, Array)

Checks if a specified float value is less than or equal to at least one of the float values in an array.

Syntax

_IsValueLessThanOrEqualToArray(valueToTest,valueList)

Parameters

Parameter Definition Data type

valueToTest

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

Float

valueList

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

Array of Float values

Returns

True or False (Boolean), indicating whether the specified float value is less than or equal to at least one of the float values in an array.

Notes

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