ClojureDocs

Nav

Namespaces

Take the 2026 State of Clojure Survey! Help shape the future of Clojure — open through Nov 30. Take Survey →
core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

thread-bound?

clojure.core

Available since 1.2 (source) Clojure/JVMClojureScriptbabashka
  • (thread-bound? & vars)
Returns true if all of the vars provided as arguments have thread-local bindings.
 Implies that set!'ing the provided vars will succeed.  Returns true if no vars are provided.