store/[org.clojure/clojure "1.8.0"] clj::clojure.core/short

Official Documentation

Add notes
Arities
==================================================
   [x]

Docstring
==================================================
  Coerce to short

Source

(defn short
  "Coerce to short"
  {:inline (fn  [x] `(. clojure.lang.RT (~(if *unchecked-math* 'uncheckedShortCast 'shortCast) ~x)))
   :added "1.0"}
  [^Number x] (clojure.lang.RT/shortCast x))

Example 1

Edit
(class (short 1))
;; => java.lang.Short

Uses on crossclj