VariableResolvedDataType
type VariableResolvedDataType =
"BOOLEAN" |
"COLOR" |
"FLOAT" |
"STRING"
The list of resolved Variable types that Figma current supports.
"BOOLEAN"variables can be assigned totrueorfalse"COLOR"variables can be assigned toRGBvalues"FLOAT"variables can be assigned tonumbervalues"STRING"variables can be assigned tostringvalues
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).