Skip to content

int-min

Type ​

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

Description ​

Return the smaller of two integers.

Examples ​

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