Skip to main content

Types

Types in LemonScript represent the type of a value. Here is a chart of all the different types in LemonScript:

TypeValueExample
NumberA integer, or a decimal (float)4.5, -12, 208
StringA list of ordered characters"hello", 'lemonscript is cool'
BooleanA true or false valuetrue, false
NullA null value (meaning nothing)null
ArrayAn array of elements[1, 2, 3, 4], ["hello", "world"]

This terminology and knowledge will be important later on.