Handbook
Glossary
builtin-class? ( object -- ? )
Factor handbook
»
The language
»
Objects
»
Classes
»
Built-in classes
Prev:
builtin-class
Vocabulary
classes
.
builtin
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
builtin-class
class.
Definition
USING:
classes
kernel
words
;
IN:
classes.builtin
:
builtin-class?
( object -- ? )
dup
class?
[
"metaclass"
word-prop
builtin-class
eq?
]
[
drop
f
]
if
;