Hello there,
Say I have a cluster array. The cluster contains different data types, e.g. a boolean, a string and a number (see attached image).
How do I efficiently and elegantly search for the first element in that array that contains a certain number if I don't know the boolean or the string value of that element?
I know I can use a for loop to unbundle the cluster array into individual arrays of the different data types, and then search the so-created number array for the number I need. But I hope there's a nicer way to do it.
Thanks,
WEnte