integer?

functionsince v0.0-927 clojure.core/integer?Edit
(integer? n)

Details:

Returns true if n is an integer, false otherwise.


See Also:


Source docstring:
Returns true if n is a JavaScript number with no decimal part.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn integer?
  [n]
  (and (number? n)
       (not ^boolean (js/isNaN n))
       (not (identical? n js/Infinity))
       (== (js/parseFloat n) (js/parseInt n 10))))