twin_get_var_unit#

TwinRuntime.twin_get_var_unit(var_name)#

Retrieves the unit string of a given variable by name.

Parameters:
var_name: str

Name of the variable.

Returns:
str

Unit of the given variable returned as string.