typedef-word? ( object -- ? )


Vocabulary
alien.c-types

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the typedef-word class.

Definition
USING: arrays kernel words ;

IN: alien.c-types

: typedef-word? ( object -- ? )
dup c-type-word?
[ "c-type" word-prop [ c-type-name? ] [ array? ] bi or ]
[ drop f ] if ;