Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftopaque return typesSingle-choice MCQ

Two functions both return `some Equatable`. Can their results be compared with `==`?

func a() -> some Equatable { 1 } func b() -> some Equatable { 2 } let result = a() == b()