# Trace variable type

**URL:** <https://forum.kirupa.com/t/trace-variable-type/251754>\
**Category:** Uncategorized\
**Created:** [February 12, 2008, 11:54am UTC](https://forum.kirupa.com/t/trace-variable-type/251754 "2008-02-12T11:54:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pensamente](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/pensamente/32/1208_2.png) [@pensamente](https://forum.kirupa.com/u/pensamente)\
**Post date:** [February 12, 2008, 11:54am UTC](https://forum.kirupa.com/t/trace-variable-type/251754/1 "2008-02-12T11:54:11Z")

</div>

hi,

i’m trying to do something really simple, i need to know the type of variable in the output with the trace(), so it could be something like so

[AS]var outputVar:String = new String();  
outputVar = “this is a string”;

trace (outputVar == String);[/AS]

well, i thought this was possible, but something must be wrong… :ponder:

can someone help me out with this one?

thx  
am
