# AS3 function that returns the type of a variable

**URL:** <https://forum.kirupa.com/t/as3-function-that-returns-the-type-of-a-variable/316061>\
**Category:** flash\
**Created:** [November 11, 2010, 1:59pm UTC](https://forum.kirupa.com/t/as3-function-that-returns-the-type-of-a-variable/316061 "2010-11-11T13:59:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashgroove](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Post date:** [November 11, 2010, 1:59pm UTC](https://forum.kirupa.com/t/as3-function-that-returns-the-type-of-a-variable/316061/1 "2010-11-11T13:59:45Z")

</div>

What is the ActionScript 3 function that returns the type of a variable ?

I remember that there is one but I can’t remember it nor can I find any reference of it.
