(any-leaf? pred form)
Does any leaf in form
(to be traversed with clojure.walk) satisfy pred
?
Does any leaf in `form` (to be traversed with clojure.walk) satisfy `pred`?
(clean-ns-form how-to-ns-opts filename original-ns-form)
(ensure-vector x)
(ensure-whitelist ns-form whitelist original-ns-form)
(ns-form-of filename)
(parse-require-form ns-form)
(used-namespace-names filename)
NOTE: this returns the set of namespace names that are used, not the set of namespaces that are used.
e.g. a namespace which is exclusively used through :refer
has a 'unused namespace name',
but it is not unused (because it is referred).
Use with caution accordingly, and not as a exclusive source of truth.
NOTE: this returns the set of namespace _names_ that are used, not the set of namespaces that are used. e.g. a namespace which is exclusively used through `:refer` has a 'unused namespace name', but it is not unused (because it is referred). Use with caution accordingly, and not as a exclusive source of truth.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close