Index of not owrking


#1

Why cant this index of node find the same element in the list it just came from? I dont understand what I am doing wrong.


#3

Try setting element to @1.


#4

I swear I tried that! but it works now for some reason. lol


#5

IndexOf works on singletons and lists, so you have to make sure you’re specifying which is which.