single-generic? ( object -- ? )


Vocabulary
generic.single

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the single-generic class.

Definition
USING: generic kernel words ;

IN: generic.single

: single-generic? ( object -- ? )
dup generic?
[ "combination" word-prop single-combination? ] [ drop f ]
if ;