Command Reference : Programming Language Reference
Syntax: @getthistype
Return: string
Returns the object type of the_this object.
If no workfile is open, or if no object has yet been opened in a workfile, the function will return the string "NONE". Note this latter behavior is in contrast to using the data member syntax “_this.@type”, which will error on those cases.
See also the @type data member of each object in “Object View and Procedure Reference”. See “The Active Object Keyword” for a discussion of the _this object.