1.3.0 permalink Arrow_down_16x16

unchecked-int

clojure.core

  • (unchecked-int x)
Coerce to int. Subject to rounding or truncation.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:3127 top

(defn unchecked-int
  "Coerce to int. Subject to rounding or truncation."
  {:inline (fn  [x] `(. clojure.lang.RT (uncheckedIntCast ~x)))
   :added "1.3"}
  [^Number x] (clojure.lang.RT/uncheckedIntCast x))
Vars in clojure.core/unchecked-int:
Used in 0 other vars

Comments top

No comments for unchecked-int. Log in to add a comment.