Tobject... finding the type 'inside'?

BlitzMax Forums/BlitzMax Beginners Area/Tobject... finding the type 'inside'?

Is there a way of evaluating what Type TObject is storing?

PCode...
If TObject = MyType1 do this
  blah
else if TObject = MyType2 do this
  ...