cljs.spec/int-in-range?

MOVED, please see cljs.spec.alpha/int-in-range?
functionremoved v1.9.542added v1.9.75Edit
(int-in-range? start end val)

Source docstring:
Return true if start <= val and val < end
Source code @ clojurescript:src/main/cljs/cljs/spec.cljs
(defn int-in-range?
  [start end val]
  (cond
    (integer? val) (c/and (<= start val) (< val end))

    (instance? goog.math.Long val)
    (c/and (.lessThanOrEqual start val)
           (.lessThan val end))

    (instance? goog.math.Integer val)
    (c/and (.lessThanOrEqual start val)
           (.lessThan val end))

    :else false))