Whatever message this page gives is out now! Go check it out!
arrayFind(array, value)| Parameter | Description |
array | Array to search in. |
callback | Inline function executed for each element in the array. Returns true if the array element matches the search criterion. |
value | Value to search for in the array. |
<cfscript>
writeDump(ArrayFind(["STRING","string"], "string"));
writeDump(ArrayFind(["STRING","string"], function(s) {if(compare(s, "string")==0) return true; return false;}));
</cfscript>