Skip to content

pytha.get_user_variable

daniel-flassig edited this page Jun 18, 2020 · 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, set_element_attributes

Clone this wiki locally