Data Types (API)
Colour
A colour specified in string format.
Expression
An expression is a Lua string containing variables and numbers. Eg: (1+5)*10
.
List
A Lua table containing a list (or array) of items of the given type.
MagnitudeColour
A colour with an additional option of being specified ByMagnitude
.
Map
A Lua table mapping a key type to a value type.
Unit
A string containing a unit. Eg: m/s^2
.
Variant
A value which can be a number, string, boolean, Complex or Point.
boolean
A standard Lua boolean. See Lua documentation for more details.
function
A standard Lua function. See Lua documentation for more details.
number
A standard Lua number. See Lua documentation for more details.
string
A standard Lua string. See Lua documentation for more details.
table
A standard Lua table. See Lua documentation for more details.