1.3.0 permalink Arrow_down_16x16

find-ns

clojure.core

  • (find-ns sym)
Returns the namespace named by the symbol or nil if it doesn't exist.

1 Example top

  • user=> (require 'clojure.string)
    nil
    
    user=> (find-ns 'clojure.string)
    #<Namespace clojure.string>
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:3653 top

(defn find-ns
  "Returns the namespace named by the symbol or nil if it doesn't exist."
  {:added "1.0"
   :static true}
  [sym] (clojure.lang.Namespace/find sym))
Vars in clojure.core/find-ns:
Used in 0 other vars

Comments top

No comments for find-ns. Log in to add a comment.