query
On this page

max

lib.trivial.max

Docs pulled from | This Revision | 38 minutes ago


Returns maximum of two numbers.

Inputs

x

1. Function argument

y

2. Function argument

Type

max :: Number -> Number -> Number

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

max = x: y: if x > y then x else y;