You're viewing version 1.2.0 of find-ns. The latest stable version of Clojure Core is 1.3.0.
1.2.0 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:3177 top

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

Comments top

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