value-type? ( object -- ? )


Vocabulary
alien.c-types

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the value-type class.

Definition
USING: arrays classes.struct kernel ;

IN: alien.c-types

: value-type? ( object -- ? )
dup struct-c-type? [ drop t ] [ array? ] if ;