thread-bound?

added
1.2

ns
clojure.core

type
function

(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.

                user=> (thread-bound? #'map)
false

user=> (thread-bound? #'*warn-on-reflection*)
true