Checks that all the items are equal.
Note that you can compare more than two items at once. The equals expression is true only if all the items are equal to each other.
Checks if the value on the left, matches the pattern on the right.
If there are no special patterns on the right-hand side (e.g. _, operator ±, new variables) then it is equivalent to operator =.
If you do declare a variable in the right-hand side, the variable will not be accessible outside the pattern. For that, use the full match expression.