Get a variable type

TCC allows us to set a variable type. Example;
Code:
c:\users\jlc\utils>set /T:dec thenumber=19.55

c:\users\jlc\utils>echo %thenumber
19.55

c:\users\jlc\utils>set thenumber=abcd
TCC: (Sys) Data supplied is of wrong type.
"thenumber=abcd"
Is there a way to get a variable type, other than "Data supplied is of wrong type"?

Joe