Skip to content

int-max

Type ​

meta-lisp
(-> int-t int-t int-t)

Description ​

Return the larger of two integers.

Examples ​

meta-lisp
(int-max 1 2)      ;; => 2
(int-max -1 -5)    ;; => -1
(int-max 0 0)      ;; => 0