VariableResolvedDataType
type VariableResolvedDataType =
"BOOLEAN" |
"COLOR" |
"FLOAT" |
"STRING"
The list of resolved Variable
types that Figma current supports.
"BOOLEAN"
variables can be assigned totrue
orfalse
"COLOR"
variables can be assigned toRGB
values"FLOAT"
variables can be assigned tonumber
values"STRING"
variables can be assigned tostring
values
Since a variable can be assigned to a VariableAlias
for any given mode, this type refers to the type of the fully resolved value (after following all aliases).