• (ns-imports ns)
Returns a map of the import mappings for the namespace.

1 Example top

  • user> (ns-imports 'clojure.core)
    {ClassVisitor clojure.asm.ClassVisitor, ProcessBuilder java.lang.ProcessBuilder, Enum java.lang.Enum, SuppressWarnings java.lang.SuppressWarnings, Throwable java.lang.Throwable, InterruptedException ...chop...}
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:3727 top

(defn ns-imports
  "Returns a map of the import mappings for the namespace."
  {:added "1.0"
   :static true}
  (filter-key val (partial instance? Class) (ns-map ns)))
Vars in clojure.core/ns-imports:
Used in 0 other vars

Comments top

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