Handbook
Glossary
typedef-word? ( object -- ? )
Vocabulary
alien
.
c-types
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
typedef-word
class.
Definition
USING:
arrays
combinators.short-circuit
kernel
words
;
IN:
alien.c-types
:
typedef-word?
( object -- ? )
dup
c-type-word?
[
"c-type"
word-prop
{
[
c-type-name?
]
[
array?
]
}
1||
]
[
drop
f
]
if
;