Skip to content

pytha.get_user_variable

fabian-flassig edited this page Jul 23, 2024 · 4 revisions

Get the evaluated value of a user variable

pytha.get_user_variable(name) 
Parameter Type Description
name string The name of the user variable. The name must be a valid lua identifier.

Return value

Type Description
value or nil evaluated value of the variable

The result value may be a string or a number. If the variable does not exist or if it cannot be evaluated, nil is returned.

See also:

pytha, set_user_variable, list_user_variables, set_element_attributes

Clone this wiki locally