not-a-string? ( object -- ? )


Vocabulary
ui.gadgets.labels

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the not-a-string class.

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

IN: ui.gadgets.labels

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