Working with data often requires classifying individual pieces of data into Types, which describe how the data is structured and how it can be manipulated.
In Airkit, every value has an associated Type. This allows all values, even values that vary depending on user input, to be reliably referenced in the expected ways. For example, while it makes sense to subtract two numbers (
3 - 2), it does not make sense to subtract a word from a number (
3 - "Airkit"), and classifying data into established Types provides a safeguard that prevents those sort of nonsensical procedures from being called and causing bugs.
Whenever you declare a new variable, you will need to assign it a Type. Consult the reference documentation for more details on when a particular Type might be appropriate.