Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Babashka
clojure.core
var-set
var-set
function
v1.0
clojure.core/var-set
Available in:
BB
CLJ
(
var-set
[
x
val
]
)
Sets the value in the var object to val. The var must be thread-locally bound.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Variables › Global Bindings
See Also
alter-var-root
alter-var-root
bound-fn
bound-fn*
declare
def
defonce
get-thread-bindings
get-validator
intern
← var-get
var? →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4