Sometimes, I want to ensure that a value is in a list but I don't care if the object is at a different index in the list.
I'd like to be able to pass a flag so that [1, 2, 3, 4] returns no difference against [3, 4, 2, 1].
However, [1,2,3,4] compared to [3,2,1,4,1] should be able to tell me that an extra '1' is present in the 2nd list.
Sometimes, I want to ensure that a value is in a list but I don't care if the object is at a different index in the list.
I'd like to be able to pass a flag so that [1, 2, 3, 4] returns no difference against [3, 4, 2, 1].
However, [1,2,3,4] compared to [3,2,1,4,1] should be able to tell me that an extra '1' is present in the 2nd list.