The Array Max & Min function is quite versatile, but for some reason it does not accept boolean arrays.
This restriction make no sense at all. Since we can easily sort boolean arrays, this function should work too!
It would come in handy for example if looking for the position of a single TRUE in a 2D array (search only works for 1D arrays!). Array min & max would simply return the index pair of the first TRUE found. As a workaround, we currently need to insert a "boolean to 0,1" to get the same effect. This seems unecessary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.