Behaviour of == on Vectors of vectors

Good evening good folks! Can someone explain the below to me? I haven’t given it that much thought so maybe the answer is trivial…or not?

julia> [[1,2],[3,4]] == [[1,2],[3,4]]
true

julia> [[1,2],[3,4]] !== [[1,2],[3,4]]
true

julia> [[1,2],[3,4]] !== [[1,2],[3,5]]
true

julia> [[1,2],[3,4]] == [[1,2],[3,5]]
false

You are looking for != rather than !==. The two mean different things, as do == and ===.

1 Like

True! Just realized :slight_smile: Easy to get them mixed up.