Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftgenerics and constraintsSingle-choice MCQ

What happens when this generic function is compiled?

func maxOf<T>(_ a: T, _ b: T) -> T { return a > b ? a : b }