MCPcopy Index your code
hub / github.com/clojure/clojure / asSym

Method asSym

src/jvm/clojure/java/api/Clojure.java:54–62  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

52 private Clojure() {}
53
54 private static Symbol asSym(Object o) {
55 Symbol s;
56 if (o instanceof String) {
57 s = Symbol.intern((String) o);
58 } else {
59 s = (Symbol) o;
60 }
61 return s;
62 }
63
64 /**
65 * Returns the var associated with qualifiedName.

Callers 1

varMethod · 0.95

Calls 1

internMethod · 0.95

Tested by

no test coverage detected