InArray

bool InArray(int inValue, int[] inArray)

Description

Returns True\False if a given value is within a given array.

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inValue DVar/Int Given value
inArray  Int[] Array name


Return Type

Bool

Examples

Given the array: arr, with values {2,3,4};
InArray(7,arr); will return false, as 7 is not in the given array.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.