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