Comparisons are functions in clojure. What that means in (2>1) is (> 2 1) in clojure. Here are all the comparison operators in clojure.

  1. Greater Than

(> 2 1) ;; true
(> 1 2) ;; false

  1. Less Than

(< 2 1) ;; false

  1. Greater Than or Equal To

(>= 2 1) ;; true
(>= 2 2) ;; true
(>= 1 2) ;; false

  1. Less Than or Equal To

(<= 2 1) ;; false
(<= 2 2) ;; true
(<= 1 2) ;; true

  1. Equal To

(= 2 2) ;; true
(= 2 10) ;; false

  1. Not Equal To

(not= 2 2) ;; false
(not= 2 10) ;; true