(ns-metadata ns)
returns the metadata associated with a given namespace
(ns-metadata 'hara.test) => '{print-options {:arglists ([] [opts])}, process-args {:arglists ([args])} -main {:arglists ([& args])}, run-errored {:arglists ([])}}
returns the metadata associated with a given namespace (ns-metadata 'hara.test) => '{print-options {:arglists ([] [opts])}, process-args {:arglists ([args])} -main {:arglists ([& args])}, run-errored {:arglists ([])}}
(resource-path ns)
converts a namespace to a resource path
(resource-path 'hara.test) => "hara/test.clj"
converts a namespace to a resource path (resource-path 'hara.test) => "hara/test.clj"
(resource-url n)
(resource-url n loader)
returns a resource url
(resource-url "hara/test.clj") => java.net.URL
returns a resource url (resource-url "hara/test.clj") => java.net.URL
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close