Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
c-type-name? ( object -- ? )
Vocabulary
alien.c-types
Inputs and outputs
object
an
object
?
a boolean
Word description
Tests if the object is an instance of the
c-type-name
class.
Definition
USING:
kernel
;
IN:
alien.c-types
:
c-type-name?
( object -- ? )
dup
pointer?
[
drop
t
]
[
c-type-word?
]
if
;