Previous Topic

Next Topic

Book Contents

_IsValueInArray (Float, Array)

Checks if a specified float value is equal to one of the float values in an array.

Syntax

_IsValueInArray(valueToTest,valueList)

Parameters

Parameters for _IsValueInArray (Float, Array)

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 float value to test is in the array of float values.

Notes

The valueToTest value is compared to each element of the array. If the value is equal to at least one element of the array, the method returns True. Otherwise, the method returns False.

Send Feedback