tag ( object -- n )
Factor handbook > The implementation > VM memory layouts > Type numbers

Next:type>class ( n -- class )


Vocabulary
kernel.private

Inputs and outputs
objectan object
na tag number


Word description
Outputs an object's tag number, between zero and one less than num-types. This is implementation detail and user code should call class-of instead.

Definition