Skip to main content

class

class System Class

Class Precedence List:

class, standard-object, t

Description:

The type class represents objects that determine the structure and behavior of their instances. Associated with an object of type class is information describing its place in the directed acyclic graph of classes, its slots, and its options.

Expanded Reference: class (System Class)

The class Metaclass

class is the type of all class objects. It is the root of the metaclass hierarchy.

(typep (find-class 'integer) 'class)
=> T

(typep (find-class 't) 'class)
=> T

Finding Classes

(find-class 'string)
==> #<BUILT-IN-CLASS STRING>

(class-name (find-class 'string))
=> STRING