summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2008-02-29 14:21:02 +0000
committerRich Hickey <richhickey@gmail.com>2008-02-29 14:21:02 +0000
commitff933719c7ea5f4204f05231bb7924d31afef030 (patch)
tree3ff34bcdfdce78e4feb3f1c1b20e0ef68d542c65 /src
parent5425498acd4101960bede9c68f82849973892cd0 (diff)
added (class x), returns getClass
Diffstat (limited to 'src')
-rw-r--r--src/boot.clj4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/boot.clj b/src/boot.clj
index 5eaa62fc..3a919952 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -2076,3 +2076,7 @@ special-symbol? [s]
var? [v]
(instance? clojure.lang.Var v))
+(defn
+ #^{:doc "Returns the Class of x"}
+class [#^Object x]
+ (. x (getClass))) \ No newline at end of file