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

Next:type>class ( n -- class )


Vocabulary
kernel.private

Inputs
objectan object


Outputs
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