fukurou
the supreme coder
★★★
- Joined
- Dec 17, 2021
- Posts
- 2,216
I tried removing an Object from a list based on the Object's shallow reference,
but swift list only has : remove at(index).
turns out there is a top secret back door operator for such occasions:
=== and !==
needless to say, I looped through the list checking
if list[index] === Object
and then I broke out the loop.
but swift list only has : remove at(index).
turns out there is a top secret back door operator for such occasions:
=== and !==
needless to say, I looped through the list checking
if list[index] === Object
and then I broke out the loop.
Last edited: