The Variable object
Variables that store temporary state.
Each instance has a unique name with which to reference (e.g., myVariable1.value
).
Properties
All properties for Variable with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
id
string
The unique identifier.
Methods
JavaScript API methods for interacting with Variable. You can write JavaScript almost anywhere in Retool and use methods to manipulate data and property values.
setIn
Set the value of a nested key.