You're viewing version 1.2.0 of class. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

class

clojure.core

  • (class x)
Returns the Class of x

1 Example top

  • user=> (class 1)
    java.lang.Integer
    
    user=> (class [1 2 3])
    clojure.lang.PersistentVector
    
    user=> (class (String. "foo"))
    java.lang.String
Log in to add / edit an example.

See Also top

Log in to add a see also.

Comments top

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