← Standard library

Equatable

constraint Equatable
import Equatable from Wax;

Requires an equality operation. Equality should be reflexive, symmetric, and transitive so searches and collections behave consistently.

CollectionConstraints.wax:5

Members

Equalsmethod

public fn Equals(base other) : bool

Tests equality against a compatible value. Equal values must remain interchangeable for collection membership.

CollectionConstraints.wax:10