# TypeOf

\<evalcmd> TypeOf && string && Type of the supplied variable. && variable && var && Any variable. \</evalcmd>

Returns a string indicating the type of the passed-in variable.

Types are: **bool**, **int**, **uint**, **int64**, **uint64**, **double**, **date**, **str**, **path** and **map**.

See the page on [evaluator variables](https://chaoses-ib.gitbook.io/directory-opus/manual/evaluator/variable_types) for information about the different types.

//[Example://](example://)

```
a = -5;
Output( TypeOf(a) );
--> int
```

*See also:* [as](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/evaluator/as)
