Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumGotype constraints and comparableSingle-choice MCQ

What does instantiating this function as Max[float64] reveal about the constraints.Ordered constraint?

func Max[T constraints.Ordered](a, b T) T { if a > b { return a } return b }