Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
defonce
defonce
macro
v1.0
clojure.core/defonce
Available in:
BB
CLJ
CLJS
(
defonce
[
name
expr
]
)
defs name to have the root value of the expr iff the named var has no root value, else expr is unevaluated
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
bound-fn
bound-fn*
declare
def
get-thread-bindings
get-validator
intern
pop-thread-bindings
push-thread-bindings
View source on GitHub ↗
← defn-
defprotocol →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4