TypeOf

Abstract AS2

@t0 = @pop();
@push(typeof @t0);

Adobe documentation

ActionToString

ActionTypeOf pushes the object type to the stack, which is equivalent to the ActionScript TypeOf() method. The possible types are:

FieldTypeComment
ActionTypeOfACTIONRECORDHEADERActionCode = 0x44

ActionTypeOf does the following:

  1. Pops the value to determine the type of off the stack.
  2. Pushes a string with the type of the object on to the stack.