var-set

clojure.core

  • (var-set x val)
Sets the value in the var object to val. The var must be
thread-locally bound.

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:3842 top

(defn var-set
  "Sets the value in the var object to val. The var must be
 thread-locally bound."
  {:added "1.0"
   :static true}
  [^clojure.lang.Var x val] (. x (set val)))
Vars in clojure.core/var-set:
Used in 0 other vars

Comments top

No comments for var-set. Log in to add a comment.