Searches an array for the presence of a specified object. The function searches for simple objects such as strings and numbers or for complex objects such as structures. Simple object string searches are case-sensitive. This function does not support searches for COM and CORBA objects.
<cfscript> myArray=[1,2,3,4,5]; writeoutput(ArrayContains(myArray,3) & " | "); //returns True since 3 is a member of myArray writeoutput(ArrayContains(myArray,6)); //returns False since 6 is not a member of myArray </cfscript>