In coldfusion I didnt find function to find values within array. Requirement was to look wheather specific value is present or not. Such function is present in PHP.
I look for various implmentation and I though structure could solve this issues. And magic logic works. Let me explain you what we did
-We received array, we converted it to the structure.
-Each value from the array is now treated as key in structure
-At the end we used structKeyExists function.
This way we achieved the functionality that we need.