c-type-word? ( object -- ? ) (original) (raw)

c-type-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 c-type-word class.

Definition

USING: kernel words ;

IN: alien.c-types

: c-type-word? ( object -- ? )
dup word? [ "c-type" word-prop >boolean ] [ drop f ] if ;