single-combination? ( object -- ? )


Vocabulary
generic.single

Inputs and outputs
objectan object
?a boolean


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

Definition
USING: classes.tuple.private kernel slots.private ;

IN: generic.single

: single-combination? ( object -- ? )
dup tuple?
[ layout-of 7 slot \ single-combination eq? ] [ drop f ] if
;