• (var? v)
Returns true if v is of type clojure.lang.Var

1 Example top

  • (def my-symbol)
    (var? #'my-symbol)
    => true
    
    (var? (var my-symbol))
    => true
    
    (var? (def my-symbol2))
    => true
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:4381 top

(defn var?
  "Returns true if v is of type clojure.lang.Var"
  {:added "1.0"
   :static true}
  [v] (instance? clojure.lang.Var v))
Vars in clojure.core/var?:
Used in 0 other vars

Comments top

No comments for var?. Log in to add a comment.