# Determining an item's data type

While testing and debugging your programs, you may discover problems that seem to be related to the data types of different items. In these cases, you may want to determine an item's data type. To do so, use the `typeof` operator, as in this example:

    trace(typeof(variableName));

For more information on testing and debugging, see Writing and debugging scripts.