Get the index of each true from a list

Hello everyone!

I have a doubt about the logic of a list. I want the index of each one that is true in it, I used true for any, but it didn’t work.
Does anyone know what might be wrong?

What is the endgoal you are after? Do you want to seperate all the “A”'s? you can do it like this below:


If you want all the indices of the “True” values, that is also easy. you can use the List.AllIndicesOf


Thanks a lot!
I didn’t know the List.AllIndicesOf node
Very good, thanks for the right connection between the lists and this node just in case.