int

function/macrosince v0.0-1211 clojure.core/intEdit
(int x)

Details:

Coerces x to an integer by stripping decimal places.


See Also:


Source docstring:
Coerce to int by stripping decimal places.
Function code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn int
  [x]
  (bit-or x 0))

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