Comparable
constraint Comparableimport Comparable from Wax;Requires an ordering operation. Return a negative value, zero, or a positive value for less, equal, or greater, and provide a consistent transitive ordering for sorting and binary search.
Members
CompareTomethod
public fn CompareTo(this other) : int32Returns a negative value, zero, or a positive value according to relative ordering. The magnitude has no ordering meaning.