unchecked-short

clojure.core

  • (unchecked-short x)
Coerce to short. 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:3115 top

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

Comments top

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