Skip to content

VariableResolvedDataType

typescript
type VariableResolvedDataType =
  "BOOLEAN" |
  "COLOR" |
  "FLOAT" |
  "STRING";

The list of resolved Variable types that Pixso current supports.

  • "BOOLEAN" variables can be assigned to true or false
  • "COLOR" variables can be assigned to RGB values
  • "FLOAT" variables can be assigned to number values
  • "STRING" variables can be assigned to string 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).