ClojureDocs

导航

命名空间

ns-resolve

clojure.core

1.0 起可用 (source)
  • (ns-resolve ns sym)
  • (ns-resolve ns env sym)
Returns the var or Class to which a symbol will be resolved in the
namespace (unless found in the environment), else nil.  Note that
if the symbol is fully qualified, the var/Class to which it resolves
need not be present in the namespace.