copapy.max#

copapy.max(x, y)#
Overloads:
  • x (value[U]), y (U | value[U]) → value[U]

  • x (U | value[U]), y (value[U]) → value[U]

  • x (U), y (U) → U

Maximum function to get the larger of two values.

Parameters:
  • x (TypeVar(U, int, float) | value[TypeVar(U, int, float)]) – First value

  • y (TypeVar(U, int, float) | value[TypeVar(U, int, float)]) – Second value

Returns:

Maximum of x and y