ClojureDocs

Nav

Namespaces

cast

clojure.core

Available since 1.0 (source)
  • (cast c x)
Throws a ClassCastException if x is not a c, else returns x.