I am looping through an array with the following code:
for leftBlock in leftBlocks {
// ...
}
I'm doing some comparisons inside of that for-loop, and in some cases I need to remove the current leftBlock from the array. I know how to remove if I have the index, but in this case, I don't.
How do I delete the current object from the array?
findorfilter