max

func max(_:_:)(_ x: T, _ y: T) -> T

Returns the greater of two comparable values.

func max(_:_:_:_:)(_ x: T, _ y: T, _ z: T, _ rest: T) -> T

Returns the greatest argument passed.