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.
Comments
Please sign in to leave a comment.