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