dec

function/macrosince v0.0-927 clojure.core/decEdit
(dec x)

Details:

Returns a number one less than x.


See Also:


Source docstring:
Returns a number one less than num.
Function code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn dec
  [x] (- x 1))

Macro code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro ^::ana/numeric dec [x]
  `(- ~x 1))