Function that returns environment variable type

TCC has the @IS* and @T* functions for working with environment variables.

It would be welcome to have a single function, for example, @ENVTYPE, that returns the same information that SET /T: uses to declare an environment variable to a specific type. Example;
Code:
SET /T:2 theNumber=19.90

echo %@ENVTYPE[%thenumber]
2
Joe