IComparable

protocolsince v0.0-1424Edit
implemented for BlackNode Keyword MapEntry PersistentVector RedNode Subvec Symbol UUID js/Date

Source docstring:
Protocol for values that can be compared.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defprotocol IComparable
  (^number -compare [x y]
    "Returns a negative number, zero, or a positive number when x is logically
     'less than', 'equal to', or 'greater than' y."))