infinite?

functionsince v1.9.293Edit
(infinite? x)

Source docstring:
Returns true for Infinity and -Infinity values.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn infinite?
  [x]
  (or (identical? x js/Number.POSITIVE_INFINITY)
      (identical? x js/Number.NEGATIVE_INFINITY)))