--- title: "typeOf" description: "Returns the simple name of the Java type." --- # typeOf > Returns the simple name of the Java type. **This function is used by Ignition's Expression language.** ## Description ## Syntax `typeOf(value)` ### Parameters | Type | Parameter | Description | |---|---|---| | Any | `value` | The object for which you want to find the Java type. | ### Results **String** - Returns the simple name of the Java type. ## Examples ```py title="Code Snippet" // Takes in a string value, returns "String". typeOf("My String") ``` ```py title="Code Snippet" // Takes in a Tag's value using the Tag expression function. Returns a string representing the datatype of the Tag. typeOf(tag("[default]WriteableInteger1")) ``` ```py title="Code Snippet" // Takes in a color type property from a Vision component. Returns "ColorUIResource". typeOf({Root Container.Label.foreground}) ```