builtin-class
Factor handbook » The language » Objects » Classes » Built-in classes

Next:builtin-class? ( object -- ? )


Vocabulary
classes.builtin

Class description
The class of built-in classes.

Examples
The class of arrays is a built-in class:
USING: arrays classes.builtin prettyprint ; array builtin-class? .
t

However, an instance of the array class is not a built-in class; it is not even a class:
USING: classes.builtin prettyprint ; { 1 2 3 } builtin-class? .
f


Definition


Methods