ClojureDocs

Nav

Namespaces

>

clojure.core

Available since 1.0 (source)
  • (> x)
  • (> x y)
  • (> x y & more)
Returns non-nil if nums are in monotonically decreasing order,
otherwise false.
1 Example
user=> (> 1 2)
false
user=> (> 2 1)
true
user=> (> 2 2)
false
user=> (> 6 5 4 3 2)
true
user=> (sort > (vals {:foo 5, :bar 2, :baz 10}))
(10 5 2)
See Also

Equality. Returns true if x equals y, false if not. Same as Java x.equals(y) except it also works ...

Added by alimoeeny

Same as (not (= obj1 obj2))

Added by alimoeeny

Returns non-nil if nums are in monotonically increasing order, otherwise false.

Added by alimoeeny
0 Notes
No notes for >