category-range-class? ( object -- ? )


Vocabulary
regexp.classes

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the category-range-class class.

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

IN: regexp.classes

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