How to determine if TList item is a string?

BlitzMax Forums/BlitzMax Programming/How to determine if TList item is a string?

I like the idea that objects of various types can be added to the same TList, but what is the best way to then determine what is what in an EachIn loop? What am I doing wrong here?
Type TType
	Field blah
End Type

Type TType2
	Field blah2:Float
End Type

t:TType = New TType
s:TType2 = New TType2

Local list:TList=New TList
list.AddLast t
list.AddLast s

For Local b:TList=EachIn list
	If TType(b)
		Print b.blah
	Else
		Print b.blah2
	EndIf
Next

I thought that 'TType()' would return a true or false depending on whether the object in the parentheses was that type. Perhaps I do not understand it completely? What I want to do is be able to add several different types of objects, including strings, to a list and then do different things with each object depending on what type it is.

Any suggestions?

Russell