abs

functionsince v1.11.50Edit
(abs a)

Source docstring:
Returns the absolute value of a.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn ^number abs
  {:added "1.11.10"}
  [a] (Math/abs a))