twin_get_var_data_type#

TwinRuntime.twin_get_var_data_type(var_name)#

Retrieves the data type of a given variable (“Real”, “Integer”, “Boolean”, or “Enumeration”) by name.

Parameters:
var_name: str

Name of the variable.

Returns:
str

Data type of the given variable returned as string.