function | since v1.9.75 | clojure.core/neg-int? | Edit |
(neg-int? x)
Return true if x satisfies int? and is negative.
(defn ^boolean neg-int?
[x]
(cond
(integer? x) (neg? x)
(instance? goog.math.Integer x)
(.isNegative x)
(instance? goog.math.Long x)
(.isNegative x)
:else false))