max function max(x:Integer, y:Integer) -> Integer Maximum of two values. function max(x:Real, y:Real) -> Real Maximum of two values. function max<Type>(iter:Iterator<Type>) -> Type Maximum reduction. function max<Type>(x:Type[_]) -> Type Maximum reduction.