Daniel's Notes

Home

❯

Topics

❯

Software Development

❯

Programming Languages

❯

Swift

❯

Equatable protocol in Swift

Equatable protocol in Swift

Apr 01, 20251 min read

An Equatable conformance should fulfill the Reflexive relation property meaning:

  1. a == a is always true (Reflexivity)
  2. a == b implies b == a (Symmetry)
  3. a == b and b == c implies a == c (Transitivity)

Deep Dives

  • Episode #297: Back to Basics: Equatable

Graph View

Created with Quartz v4.5.0 © 2025

  • GitHub
  • Discord Community