Skip to main content

intern

functionv1.0

clojure.core/intern

Available in:BBCLJ
(intern [ns name] [ns name val])
Finds or creates a var named by the symbol name in the namespace ns (which can be a symbol or a namespace), setting its root binding to val if supplied. The namespace must exist. The var will adopt any metadata from the name symbol. Returns the var.

No examples yet. Be the first to add one!