APIsStandard librarybuiltinequality_comparableOn this pagemoduleequality_comparable Traits EqualityComparable: A type which can be compared for equality with other instances of itself.