• (resolve-class sym)
Attempts to resolve a symbol into a java Class. Returns nil on
failure.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/commands/completion.clj:63 top

(defn resolve-class
  "Attempts to resolve a symbol into a java Class. Returns nil on
   failure."
  ([sym]
     (try
      (let [res (resolve sym)]
        (when (class? res)
          res))
      (catch Throwable t
        nil))))
Vars in swank.commands.completion/resolve-class: class? defn let when
Used in 0 other vars

Comments top

No comments for resolve-class. Log in to add a comment.