Subscript

max(_:_:)

Returns the greater of x and y.

Source
subscript max<T: Comparable>(
   _ x: T,
   _ y: T
): T { let }