Equality

Gleam has the == and != operators for checking equality.

The operators can be used with values of any type, but both sides of the operator must be of the same type.

Equality is checked structurally, meaning that two values are equal if they have the same structure rather than if they are at the same memory location.