shifter? ( object -- ? )


Vocabulary
cpu.arm.assembler

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the shifter class.

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

IN: cpu.arm.assembler

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