Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
alter-var-root
alter-var-root
function
v1.0
clojure.core/alter-var-root
Available in:
BB
CLJ
(
alter-var-root
[
v
f
&
args
]
)
Atomically alters the root binding of var v by applying f to its current value plus any args
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
bound-fn
bound-fn*
declare
def
defonce
get-thread-bindings
get-validator
intern
pop-thread-bindings
push-thread-bindings
View source on GitHub ↗
← alter-meta!
amap →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4