> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/evaluator/typeof.md).

# 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](/directory-opus/manual/evaluator/variable_types.md) for information about the different types.

//<Example://>

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

*See also:* [as](/directory-opus/manual/reference/evaluator/as.md)
