# Behaviour of == on Vectors of vectors

**URL:** <https://discourse.julialang.org/t/behaviour-of-on-vectors-of-vectors/70582>\
**Category:** General Usage\
**Created:** [October 28, 2021, 9:16pm UTC](https://discourse.julialang.org/t/behaviour-of-on-vectors-of-vectors/70582 "2021-10-28T21:16:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kruxigt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kruxigt/32/11694_2.png) [@Kruxigt](https://discourse.julialang.org/u/Kruxigt)\
**Post date:** [October 28, 2021, 9:16pm UTC](https://discourse.julialang.org/t/behaviour-of-on-vectors-of-vectors/70582/1 "2021-10-28T21:16:17Z")

</div>

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
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

```

---

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [October 28, 2021, 9:21pm UTC](https://discourse.julialang.org/t/behaviour-of-on-vectors-of-vectors/70582/2 "2021-10-28T21:21:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Kruxigt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kruxigt/32/11694_2.png) [@Kruxigt](https://discourse.julialang.org/u/Kruxigt)\
**Post date:** [October 28, 2021, 9:22pm UTC](https://discourse.julialang.org/t/behaviour-of-on-vectors-of-vectors/70582/3 "2021-10-28T21:22:59Z")

</div>

True! Just realized 🙂 Easy to get them mixed up.
