How to obtain indices of an array satisfying boolean condition

And your post led me to look at the contains documentation. It also has a single argument version since julia 1.5. That’s going to make some of my code a little cleaner (not needing the anonymous functions any more [if that is what they are called])