exists
Searches the array eArray for the value eVal. Returns true if the value is found in the array.
Version
1.6
Parameters
Parameter | Type | Description |
---|---|---|
eVal | string | The search value. |
eArray | array of strings | Potential matches. |
Example
Values = new Array(“Apple”,”Pear”,”Banana”);
X = exists(“Apple”,Values);
X is true.